Skip to main content
Solved

How do handle data consent with the Klaviyo app embed

  • November 26, 2025
  • 1 reply
  • 12 views

Forum|alt.badge.img

We’re finishing up moving to a new consent management platform, and our partner flagged that even when users have opted out from all tracking we’re still sending data to Klaviyo from the front-end pixel.

We are using the Klaviyo app embed to get the klaviyo script onto our site. I moved it into Google Tag Manager so that it would only send data to Klaviyo if the proper consent signals are present. That worked, but it broke our Item Viewed metric tracking. 

Is it possible to use the Klaviyo app embed in a way that is compliant? How do I get the benefits of the pixel while also respecting customers’ privacy choices?

Best answer by Byrne C

Hi ​@benzitney,

Thanks for describing your issue in detail. When you mention that users can opt out from all tracking, by what method are they doing this? Is it a certain page or pop-up on your site, and does that preference get sent over to Klaviyo?

You might be interested in reading about our onsite tracking, specifically the Who Klaviyo Tracks portion of this article. Site visitors need to take specific actions in order to be tracked by our tracking pixel, specifically:

  • Subscribing via a sign-up form
  • Clicking a link in a Klaviyo email that leads to your website
  • Submitting a Klaviyo form
  • Logged into your website, if you have installed custom tracking for logged in users.

With certain Shopify settings active, Klaviyo may not track onsite events at all for site visitors in the EU unless they provided explicit consent. 

All this being said, Klaviyo is always going to track some activity. If a person places an order on Shopify, their information will be sent to Klaviyo, even if they didn’t consent to marketing, and they’ll be marked as “Never Subscribed”. This is just the nature of the Shopify integration - it exists to help you understand the actions your customers and site visitors take. While Klaviyo automatically prevents emails from sending to Unsubscribed profiles, you can also ensure that “Never Subscribed” profiles never receive emails from creating a segment of profiles with the definition “Person can receive email marketing because person Never Subscribed”, and excluding that segment from all of your campaigns. Additionally, you can create profile filters on your flows with this same definition to exclude these individuals from entering your flows.

In short, there are certain events that will always be tracked when the Shopify integration is connected to Klaviyo, but by segmenting and adding filters, you can ensure that non-consented profiles don’t receive your messages.

1 reply

Byrne C
Community Manager
Forum|alt.badge.img+27
  • Community Manager
  • Answer
  • November 28, 2025

Hi ​@benzitney,

Thanks for describing your issue in detail. When you mention that users can opt out from all tracking, by what method are they doing this? Is it a certain page or pop-up on your site, and does that preference get sent over to Klaviyo?

You might be interested in reading about our onsite tracking, specifically the Who Klaviyo Tracks portion of this article. Site visitors need to take specific actions in order to be tracked by our tracking pixel, specifically:

  • Subscribing via a sign-up form
  • Clicking a link in a Klaviyo email that leads to your website
  • Submitting a Klaviyo form
  • Logged into your website, if you have installed custom tracking for logged in users.

With certain Shopify settings active, Klaviyo may not track onsite events at all for site visitors in the EU unless they provided explicit consent. 

All this being said, Klaviyo is always going to track some activity. If a person places an order on Shopify, their information will be sent to Klaviyo, even if they didn’t consent to marketing, and they’ll be marked as “Never Subscribed”. This is just the nature of the Shopify integration - it exists to help you understand the actions your customers and site visitors take. While Klaviyo automatically prevents emails from sending to Unsubscribed profiles, you can also ensure that “Never Subscribed” profiles never receive emails from creating a segment of profiles with the definition “Person can receive email marketing because person Never Subscribed”, and excluding that segment from all of your campaigns. Additionally, you can create profile filters on your flows with this same definition to exclude these individuals from entering your flows.

In short, there are certain events that will always be tracked when the Shopify integration is connected to Klaviyo, but by segmenting and adding filters, you can ensure that non-consented profiles don’t receive your messages.