Klaviyo

Klaviyo for Shopify: the complete setup guide

A step-by-step guide to setting up Klaviyo on a Shopify store properly, from integration and consent to flows, forms, and reporting.

6 min read Updated November 2026

Klaviyo is the most popular email and SMS platform for Shopify brands, and for good reason. It pulls in every order, product view, and customer detail from your store, and lets you use that data to send the right message to the right person at the right moment.

But a Klaviyo account is only as good as its setup. We audit a lot of accounts, and the same problems come up again and again: events that never arrived, forms that were never connected to a flow, campaigns going to the entire list, and a sending domain that was never authenticated. This guide walks through the setup in the order that matters, so every flow and campaign you build later earns more.

Step 1: Connect Shopify and check the data

Install the Klaviyo app from the Shopify App Store and connect it to your Klaviyo account. During setup, turn on:

  • Customer and order sync, so Klaviyo receives every customer and every order.
  • Onsite tracking, so Klaviyo can record product views and identify returning visitors.
  • Marketing consent sync, so subscriber status matches between the two systems.

Then check the data. In Klaviyo, open the metrics list and confirm you can see these events arriving with recent timestamps:

  1. Active on Site
  2. Viewed Product
  3. Added to Cart
  4. Started Checkout
  5. Placed Order
  6. Fulfilled Order

If "Added to Cart" is missing, your abandoned cart flow cannot work. Some themes need an extra snippet for it, so test it on a real product page before moving on.

Step 2: Authenticate your sending domain

Before you send at volume, set up a branded sending domain. This means adding DNS records so that inbox providers can verify that your emails really come from your brand. You will need:

  • SPF and DKIM records, which Klaviyo generates for you.
  • A DMARC record on your root domain, which Gmail and Yahoo now expect from bulk senders.

Sending from your own authenticated domain protects your reputation and keeps it separate from every other sender on shared infrastructure. Our guide to SPF, DKIM, and DMARC explains each record in plain English.

Consent mistakes are expensive to fix later, so set them up properly now.

  • Add a clear email marketing opt-in at Shopify checkout.
  • Keep email and SMS consent separate. SMS needs its own explicit opt-in.
  • When you import historical customers, only subscribe the ones who agreed to marketing.
  • Decide whether you want single or double opt-in. Single opt-in grows faster. Double opt-in gives a cleaner list. Many brands use single opt-in with good bot protection.

Step 4: Build your signup forms

Your list is the fuel for everything else. Start with:

  • A popup for new visitors, triggered after a short delay or on exit intent.
  • An embedded form in your footer.
  • A two-step form that asks for email first and SMS second, for brands using SMS.

Connect every form to a list that triggers your welcome flow. A form that is not connected to a flow is the most common, and most costly, setup mistake we find. For design and timing advice, read our popup best practices.

Step 5: Launch the five core flows

Flows are where most Klaviyo revenue comes from, because they reach people at a moment of intent. Launch these first, in this order:

  1. Welcome series, triggered by joining your list.
  2. Abandoned checkout, triggered by Started Checkout.
  3. Abandoned cart, triggered by Added to Cart.
  4. Browse abandonment, triggered by Viewed Product.
  5. Post-purchase, triggered by Placed Order.

For each one, set the right flow filters. The most important is "has not placed an order since starting this flow", which stops you chasing people who already bought. Turn on Smart Sending for marketing flows so nobody gets too many emails at once.

Our list of the Klaviyo flows every Shopify store needs covers what each one should contain.

Step 6: Build segments before campaigns

Before you send your first campaign, build the segments you will send it to. At a minimum:

  • Engaged 30 days: opened or clicked an email, or placed an order, in the last 30 days.
  • Engaged 90 days: the same, over 90 days.
  • Customers: placed at least one order.
  • Repeat customers: placed two or more orders.
  • Never purchased: subscribers with no orders.
  • Unengaged: no opens, clicks, or orders in a long time.

Send most campaigns to your engaged segments. Sending to the whole list is the fastest way to hurt your inbox placement. Our guide to Klaviyo segments lists more than twenty you can build.

Step 7: Design a template system

Build a small set of reusable templates rather than designing every email from scratch:

  • A brand header and footer with your logo, navigation, and social links.
  • A product block that pulls live products from your catalog.
  • A review or testimonial block.
  • A clear, consistent button style.

Keep everything mobile first, with large text and big buttons. See our email design best practices.

Step 8: Plan your first month of campaigns

With flows running, plan a simple campaign calendar. A good first month mixes:

  • One product or collection launch.
  • One educational email that helps customers use what they buy.
  • One story about the brand or the people behind it.
  • One offer, sent only to the segments most likely to respond.

Our ecommerce email calendar gives you a full year of ideas.

Step 9: Set up reporting that shows revenue

Klaviyo reports attributed revenue for every flow and campaign. Build a simple monthly view that shows:

  • Total attributed email revenue, and its share of total store revenue.
  • Flow revenue and campaign revenue, separately.
  • Revenue per recipient for each flow.
  • List growth, unsubscribes, bounces, and spam complaints.

Check the attribution window in your account settings so you know exactly what "attributed" means for your numbers.

Common Klaviyo setup mistakes

  • Forms that are not connected to a welcome flow.
  • Abandoned cart flows that fire for people who already bought.
  • Campaigns sent to every profile, including people who have not opened in a year.
  • No branded sending domain.
  • Paying for thousands of unengaged profiles that never open, because nobody cleaned the list.

What good looks like after 90 days

Three months after a proper setup, a healthy Klaviyo account usually shows the same pattern: flows earning steadily every day, campaigns adding peaks around launches, a growing list, and low bounce and complaint rates. RedHeal, a Norwegian red light therapy brand, saw attributed flow revenue rise 650.9% year over year after we built its core flows, and its flows ranked in the 95th percentile for revenue per recipient against Klaviyo’s benchmarks. Read the RedHeal case study.

Frequently asked questions

How long does it take to set up Klaviyo on Shopify?

The integration itself takes minutes. A proper setup, with a branded sending domain, signup forms, the core flows, segments, and reporting, usually takes one to three weeks depending on how much content and design you need.

Should I import all my old Shopify customers into Klaviyo?

Import them, but only email the people who gave marketing consent. Customers without consent can still receive transactional emails and can be used for analysis and suppression, but should not get marketing campaigns.

Can I use Shopify Email and Klaviyo at the same time?

You can, but it usually creates duplicate sends and messy reporting. Most growing brands move all marketing email into Klaviyo and keep Shopify for order and shipping notifications.

Do I need a dedicated IP address in Klaviyo?

Almost never. Most ecommerce brands get better deliverability on Klaviyo’s shared infrastructure with a properly authenticated branded domain. Dedicated IPs only make sense at very high, consistent volume.

Written by the Mail Captains team

Mail Captains builds and runs email and SMS retention systems for 7 and 8 figure D2C brands, with over $25M in attributed revenue for 40+ brands. About us · Case studies