A fireplace shop window covered by a frosted panel so shoppers inside appear only as blurred silhouettes

Your Shopify Cookie Banner Might Be Switching Off Your Email Automations

If your Klaviyo browse abandonment, back-in-stock or price-drop emails have gone quiet, check your Shopify cookie banner. When the banner asks US visitors to opt in before any tracking, Klaviyo can't record what most of them view. Those flows depend on that data, so they stop firing, and nothing tells you.

We found this on a new client's store in October. The last product view Klaviyo had recorded was from June 3, 2025. That's more than 16 months of browsing that never reached their email automations.

What we found

The client is a specialty retailer of fireplaces, fire pits, gas logs and grills, with a Shopify store of about 2,000 products. Their Klaviyo account had a browse abandonment flow, a cart flow and a welcome series, all switched on. On paper the setup looked complete.

The account's metrics told a different story. Klaviyo's Viewed Product event had stopped on June 3, 2025. Without it, browse abandonment can't fire, because Klaviyo doesn't know anyone browsed. The back-in-stock and price-drop flows we were building also depend on Klaviyo knowing what people looked at and what's in the catalog. And the catalog looked empty too, at least when we queried it through the API.

Two causes, one more stubborn than the other

The first cause was easy. Klaviyo's onsite app embed was turned off in the Shopify theme. We turned it on, and the tracking script started loading on product pages.

Product views still didn't show up.

The second cause was the cookie banner. The store's Shopify privacy settings showed a consent banner to US visitors, including shoppers in Michigan, where the store is based. Until a visitor clicked Accept, Klaviyo set no tracking cookie and sent no events. Plenty of shoppers never click anything on a cookie banner, and every one of those visits was invisible.

We confirmed it with a simple test. With the banner dismissed, nothing was recorded. After we clicked Accept and identified ourselves with a test email address, a Viewed Product event landed in Klaviyo with the right product, price and image.

Klaviyo's own troubleshooting guide for viewed product tracking says Shopify's customer privacy settings can stop Klaviyo from tracking onsite events until a visitor consents. The guide mentions this for visitors in the EU, UK and similar regions. This store had the same consent requirement switched on for US visitors too.

The fix: the banner where it's required, opt-out everywhere else

We changed Shopify's customer privacy settings so the store does two things.

The cookie banner only shows in regions that legally require opt-in consent. Visitors from those regions still see it and still have to accept before tracking runs.

US visitors get Shopify's automated opt-out instead. In states with privacy laws that give people the right to opt out, Shopify shows a "Your privacy choices" link and honors the Global Privacy Control signal some browsers send. Shopify's help center explains how these customer privacy settings work, including cookie banners and opt-out pages.

After the change, a visitor from Michigan no longer saw a banner, and product views started reaching Klaviyo. The owner is reviewing the privacy policy wording so it accurately describes the cookies and pixels on the site and how to opt out.

A note on what this post isn't. It isn't advice to drop consent, and it isn't legal advice. Privacy rules differ by country and by state, and they keep changing. The right setup is the one that follows the laws that apply to your customers. If you aren't sure what those are, ask your attorney before you change anything. What we're saying is narrower: check whether your banner is set stricter than you need, and whether you've accepted what that costs.

Your ads may be affected too

Klaviyo was the easiest place to see the damage, because its event log showed the exact date tracking stopped. It probably wasn't the only tool affected. Shopify's Google and Facebook app pixels generally follow the same consent setting. We haven't verified it on this store yet, but if a banner is blocking Klaviyo, assume it's limiting your ad platforms' data too.

That matters because first-party data is what your ads learn from. Missing product views mean smaller retargeting audiences and weaker signals for bidding. They also mean bigger gaps between what the platforms report and what really happened. We've written about how quietly marketing data can disappear, and this is one of the most common ways.

A second blind spot: don't trust the API alone

Remember the empty product catalog? It wasn't empty. Klaviyo's catalog API only returns custom catalogs, not the catalog that syncs from Shopify. When we checked inside Klaviyo, under Products, the Shopify catalog was there and fully synced. A tool or script that relies only on the API would have reported a problem that didn't exist and sent someone chasing it.

The lesson applies well beyond Klaviyo. When an audit says something is missing, confirm it in the platform itself before you rebuild anything.

How to check your store in 15 minutes

1. Find your last Viewed Product event

In Klaviyo, open Analytics, then Metrics, and look at Viewed Product and Active on Site. When was the most recent event? If it's weeks or months old on a store that gets daily traffic, onsite tracking is broken.

2. Check the Klaviyo app embed

In Shopify, go to your theme's App embeds and make sure Klaviyo's onsite tracking embed is turned on.

3. Look at your privacy settings

In Shopify, open Settings, then Customer privacy. Note which regions see the cookie banner and whether the US is one of them. Then decide, with legal advice if you need it, whether that's what your business requires.

4. Visit your store as a customer would

Open a private browser window and load your store from your own location. If you see a banner, imagine you're a shopper who ignores it. Everything you browse from that point is invisible to your email platform.

5. Run a test that proves tracking works

Accept the banner if there is one, sign up or identify yourself with a test email address, and view a product. Then find that test profile in Klaviyo and confirm the Viewed Product event arrived with the right product details.

Frequently asked questions

Why isn't Klaviyo tracking Viewed Product on my Shopify store?

The two most common causes are the Klaviyo app embed being turned off in your Shopify theme, and a cookie banner that blocks tracking until visitors accept. Check both. Then run a test with a known email address to confirm events arrive.

Does a Shopify cookie banner affect Klaviyo?

Yes. Depending on your customer privacy settings, Klaviyo may not track onsite activity for visitors who haven't given consent. If the banner applies to most of your visitors and many of them never accept, much of your browse data is never recorded.

Do US visitors need to see a cookie banner?

It depends on the laws that apply to your business and customers. Many US state privacy laws focus on the right to opt out of the sale or sharing of data, which Shopify's automated privacy settings are built to support. Talk to your attorney about your situation before changing your consent setup.

Why does my browse abandonment flow never send?

Browse abandonment needs two things: an identified visitor and a Viewed Product event. If onsite tracking is blocked or switched off, the flow has nothing to trigger on, even though it shows as live.

The takeaway

An email automation that's switched on isn't the same as one that's working. Check the data that triggers it. If your last product view was months ago, find out why before the holiday traffic arrives. Your cookie banner is a good place to start.

If you'd like help auditing what your store is and isn't tracking, see our email marketing services or book a free consultation. And before your Black Friday emails go out, read last week's post on why Klaviyo discount codes fail at checkout.

Like what you're seeing?

We've got lots of news and knowledge for you...

Get our newsletter.