Course

Klaviyo course, module 1: set up the account right.

Before the first flow or campaign, the data has to arrive and the domain has to be trusted. This module is the setup we run on every new account.

On a new account, the first email you send goes out from a domain no inbox has seen before, and every flow you build later depends on four or five Shopify events arriving on time. So the setup decides a lot before you write a single word. This is module 1 of our free Klaviyo email course, and it covers the setup we run on every account we take over.

What you'll learn in this module

  • How to connect Shopify so orders and site activity actually land in Klaviyo
  • How to test onsite tracking with your own profile instead of trusting a green checkmark
  • Why a branded sending domain and a DMARC record come before your first campaign
  • Which settings to look at once (attribution, Smart Sending, UTM tracking, users) so your numbers mean something later

Step 1: connect the store

Install Klaviyo from the Shopify App Store and connect it to your store. That brings your customers with their order history into Klaviyo, plus your product catalog. The examples in this course use Shopify because most DTC brands we work with run on it. The logic is the same on other platforms: figure out what should arrive, check what actually arrives, then fix the gap.

During the connection, Klaviyo asks how to handle consent and which list your Shopify newsletter subscribers should sync into. Pick one main newsletter list and keep using it. Several lists for the same purpose make flows harder to build and easier to break.

Klaviyo's setup wizard also offers a set of default flows once you finish it. You can let it create them. Just don't switch them on yet. Module 3 covers how to rebuild them so they actually sell.

Step 2: check that onsite tracking works

Browse abandonment, cart reminders and many segments run on what people do on your site. On Shopify, those events come from two places, and each can break on its own.

EventsTracked throughWhat has to be on
Active on Site, Viewed ProductThe Klaviyo app embedSwitched on under App embeds in your Shopify theme editor, then saved
Added to Cart, Viewed Collection, Submitted SearchA Shopify pixel"Track behavioral events" checked in the Onsite Tracking section of the Shopify integration in Klaviyo

Then test it yourself. Open your store with ?utm_email= and your own email address added to the URL, view a product, add it to the cart and look up your profile in Klaviyo. Klaviyo recommends waiting about 15 minutes after a settings change before you test. Place a real test order too, so you see Started Checkout and Placed Order come through.

One thing looks like a bug and isn't. Klaviyo may not track onsite events for visitors from the EU, EEA, UK and Switzerland who haven't consented, based on your Shopify customer privacy settings. If you sell in Europe, expect fewer browse and cart events from those markets.

The most common setup bug we findA theme change. Someone duplicates or replaces the Shopify theme, and the Klaviyo app embed stays switched off in the new one. Added to Cart keeps firing, Viewed Product stops, and the browse flow goes quiet without anyone noticing. Check the app embed after every theme change.

Step 3: set up a branded sending domain

Since 2024, Google and Yahoo expect bulk senders to authenticate their mail. Without your own sending domain, inbox providers see your emails as coming from Klaviyo's shared setup, and your reputation gets mixed with everyone else's.

Go to Settings, then Domains. Klaviyo sets the domain up on a subdomain, most often something like send.yourbrand.com, and it has to be one you don't use for anything else. Klaviyo's recommended setup uses 4 NS records for that subdomain plus 1 TXT record on your root domain to prove ownership. If your DNS provider can't handle NS records, there is a static option with up to 3 CNAME records plus the TXT record. DNS changes can take up to 48 hours, so start here and do the rest of the setup while you wait.

Two details trip people up. If your DNS runs through a provider that proxies records, proxying has to stay off for Klaviyo's records. And Klaviyo advises against using the sending subdomain in your from address, because replies won't arrive. Send from an address on your root domain, one that a real person reads.

Then check DMARC. Gmail and Yahoo expect a DMARC record on your root domain. If you don't have one, Klaviyo's domain setup offers to add a basic record with the policy p=none. That meets the minimum. Module 7 covers when to make it stricter.

Step 4: sender name, reply-to and consent

The sender name is the first thing people see in the inbox. Use your brand name, or a person plus the brand if that fits your tone, and keep it the same on every send. Point the reply-to address at an inbox someone actually reads. Replies are a good sign to inbox providers, and they are also where your best customer feedback shows up.

Decide on single or double opt-in per list. Klaviyo sets this under Audience, then Lists & segments, then the list's settings. Double opt-in costs you some sign-ups and gives you a cleaner list. In some markets, Germany for example, it is the expected standard, so check the rules where you sell. Keep email and SMS consent separate whatever you choose. Our double opt-in guide goes through the setup.

If you're moving from another email tool, import only people who gave you consent. Remove hard bounces before the first send, and keep unsubscribes suppressed so nobody who left gets your emails again.

Step 5: look at the settings that shape your numbers

These take ten minutes, and they decide how every report reads for years. We look at them on day one.

  • Attribution. Settings, then Attribution. This decides which orders count as email revenue. Look at the windows and whether opens count at all. Klaviyo limits how often you can change these settings, and a change also rewrites past reports, so take a screenshot first. Module 8 covers what we recommend.
  • Smart Sending. By default, Klaviyo skips anyone who got a marketing email in the last 16 hours. That is a good default for campaigns. For a few flow emails it costs you sales, which module 3 covers.
  • UTM tracking. Settings, then Other, then UTM tracking. Switch it on so Google Analytics can see email traffic. Keep the capitalization of your values consistent, because Klaviyo doesn't lowercase them for you.
  • Users and API keys. Remove former employees and old agencies. Name every private API key after the tool that uses it, and delete keys for tools you no longer use.

Step 6: list your integrations

Open Integrations and write down everything that's connected: the store, a subscription app, reviews, loyalty, help desk, quiz tools, SMS partners. Next to each one, note who owns it and which flows depend on it. This list saves you hours later, when a flow goes quiet and you need to know what changed.

Then go to Analytics, then Metrics, and filter by each integration. Every metric shows when it last fired. A metric that fired daily and stopped last month is a problem you just found for free. Our integrations audit goes through every check in detail.

What "done" looks like

The setup is finished when your own test profile shows Viewed Product, Added to Cart, Started Checkout and Placed Order, your sending domain shows as verified, your root domain has a DMARC record and you know which list your sign-ups land in. Everything in the next seven modules builds on that. If one of those is missing, fix it before you build a flow, because a flow on broken data looks fine in the editor and sends nothing.

Prefer to watch? Leon walks through Klaviyo setups on our YouTube channel.

Do this in your account today

  1. Open your store with ?utm_email= plus your own email, view a product and add it to the cart.
  2. Wait about 15 minutes, then find your profile in Klaviyo and check that Viewed Product and Added to Cart show up.
  3. Go to Settings, then Domains, and write down the status of your sending domain.
  4. Take a screenshot of Settings, then Attribution, so you have a record before anything changes.

If one of these fails, that is your task for this week. Don't move on to module 2 before it's fixed.

Go deeper

Previous: Course overview
Next: Module 2: list growth and sign-up forms

Questions we get a lot

How long does the Klaviyo setup take?

The clicking part fits into an afternoon. DNS records for the sending domain can take up to 48 hours to verify, so start with the domain and do the rest while you wait.

Do I need a developer to set up Klaviyo?

Usually not. The Shopify integration and the app embed are a few clicks. The DNS records for your sending domain go in at your domain host, which some brands hand to whoever manages their website.

Why does Klaviyo show no Viewed Product events?

Most often the Klaviyo app embed is switched off in the Shopify theme editor, typically after a theme change. Switch it on, save, wait about 15 minutes and test again with your own profile.

Should I change Klaviyo's attribution settings right away?

Look at them right away, and change them once, on purpose. Every change also rewrites past reports, and Klaviyo limits how often you can change them, so pick a setup and keep it.

See it in real results

All case studies

Want to see where your extra revenue is?

Book a free 30 minute audit. We go through your Klaviyo together and show you what we would change first.

Get a free audit