Klaviyo + Shopify Integration

Klaviyo and Shopify integration that keeps working after your store changes.

I set up, fix and maintain the technical side of Klaviyo on Shopify and Shopify Plus: tracking, custom events, flows and forms. Most Klaviyo problems don't show an error. Flows keep running and fewer people receive them each week. My job is to make sure the right data reaches Klaviyo, and keeps reaching it.

  • Shopify Select Partner
  • Building on Shopify since 2018
  • Custom Klaviyo integrations

Short answer

Klaviyo gets Shopify data in two ways: the Shopify integration syncs orders and checkouts, and onsite tracking (the Klaviyo app embed in your theme plus a Shopify pixel) records product views, cart adds and searches. A Klaviyo Shopify integration done properly sets up both, adds custom events for anything your store does differently, and re-tests after every theme, app or consent change.

What I do

The technical work behind email and SMS that sends correctly.

  • Integration setup and audit

    Connecting Klaviyo to Shopify properly, or reviewing an existing setup: the Shopify integration, the app embed on the live theme, onsite tracking and consent settings.

  • Custom events and properties

    Sending the data standard tracking doesn't cover, such as events from custom features, subscriptions or digital products, so flows can react to what actually happens in your store.

  • Flows that match how the store works

    Abandoned cart, browse abandonment, post-purchase and custom flows wired to the right triggers and filters, and tested with real test orders before they go live.

  • Signup forms and theme integration

    Forms, popups and back-in-stock or waitlist signups built into the theme so they match the design and don't slow the store down.

  • Tracking fixes after changes

    Finding out why events or flow volumes dropped after a new theme, app or consent banner, fixing the cause and confirming data is arriving again.

  • Ongoing monitoring

    Monthly checks on events, flows and campaigns as the store changes, so email and SMS keep working after every launch and update.

Why tracking breaks

Five store changes that quietly break Klaviyo.

Order and checkout events come from Shopify itself, so they survive most changes. Onsite events depend on code in the shopper's browser, and that's what breaks.

  1. 01

    A new theme goes live

    The Klaviyo app embed is switched on per theme. A redesign or a theme installed as a new copy can launch with Active on Site and Viewed Product tracking turned off, and nothing on the storefront looks different.

  2. 02

    Consent settings change

    Depending on your Shopify customer privacy settings, visitors in the EU, EEA, UK or Switzerland may not be tracked until they consent. A new or stricter banner lowers onsite event counts, which needs to be expected and measured, not guessed at.

  3. 03

    The storefront goes headless

    On a headless storefront such as Hydrogen there is no theme for the app embed to load in, so onsite tracking has to be added in code.

  4. 04

    Old and new scripts overlap

    Older stores often have Klaviyo code pasted into theme files alongside the newer app embed. After theme edits, one copy can be removed, or two can load at once.

  5. 05

    Collections and tags are renamed

    Tracking keeps working, but flows filtered on a collection or tag name stop matching anyone once that name changes.

Client work

Klaviyo integrations on real stores.

Music On PR

  • Shopify Plus
  • Custom raffle system
  • Klaviyo

A seven-figure Shopify Plus store for a Puerto Rico brand running public prize raffles. Buying a digital product enters the customer into a raffle, and Klaviyo tells each customer about their entry. The integration had to be accurate from the moment a raffle is switched on, when traffic and orders arrive together. My team still maintains the store and checks the Klaviyo integration every month.

Dissolvabls

  • Store development
  • Klaviyo automations

A wellness brand that needed a store that looked and felt right, and customer communication that runs automatically instead of by hand. We developed the Shopify store and integrated Klaviyo for automated customer emails and flows.

Ad and analytics purchase tracking is a separate job from Klaviyo. If yours changed after the checkout upgrade, read how to check thank-you page tracking. You work directly with me: I lead every project and review every change, and my team handles the build. See how I run projects.

FAQ

Klaviyo and Shopify questions.

How does Klaviyo integrate with Shopify?

In two ways. The Shopify integration syncs order and checkout data such as Checkout Started, Placed Order and Fulfilled Order from Shopify itself. Onsite tracking records what shoppers do on the storefront: Active on Site and Viewed Product come from the Klaviyo app embed in your theme, and Added to Cart, Viewed Collection and Submitted Search come from a Shopify pixel. Both parts need to be set up and checked.

Why did my Klaviyo flows stop sending after a theme change?

The most common reason is that the Klaviyo app embed is not enabled on the new theme. It is switched on per theme, so a new theme can go live with Viewed Product and Active on Site tracking off. Browse abandonment and similar flows then receive far fewer people while checkout flows keep working, which hides the problem.

Can you track custom events in Klaviyo from Shopify?

Yes. When a store has custom features, standard tracking doesn't describe them. I send custom events and properties to Klaviyo so flows and campaigns can use them. On Music On PR, a Shopify Plus raffle store my team maintains, Klaviyo tells each customer about their raffle entry after purchase.

Can you fix an existing Klaviyo setup someone else built?

Yes. I start with an audit: the integration settings, the app embed, duplicate or leftover scripts, consent settings and the triggers and filters on each live flow. You get a list of what's wrong and I fix it in order of impact.

Do you write the emails or run the campaigns?

No. I'm a technical partner, not an email marketing agency. I make sure the data, events, flows and forms work correctly and keep working. Your team or your marketing agency owns the content and strategy, and I work alongside them.

How do you make sure Klaviyo keeps working after launch?

Every theme publish, cart or checkout change and consent change is followed by a test: a product view, add to cart, started checkout and a test order, each confirmed in Klaviyo. For stores my team maintains monthly, we also compare event and flow volumes against store traffic so a drop is caught early.

Not sure your Klaviyo data is complete?

Tell me about your store and what changed recently. I'll tell you where I'd look first.