Settl.

Guides · 6 min read

Server-side tracking and cookie consent on Shopify

Server-side tracking is sometimes sold as a way around cookie banners. It isn't. Sending events from a server changes where the data leaves from, not whether you need the visitor's permission. This guide explains how consent and server-side tracking fit together on Shopify, what Google Consent Mode v2 has to do with it, and what to check in your own setup. It's practical guidance, not legal advice.

Does server-side tracking still need consent?

In the EU, the UK and other places with similar rules, using a visitor's data for advertising generally needs their permission, whether the event is sent from the browser or from a server. A server-side setup should follow the same choice your cookie banner records.

What server-side tracking does change is reliability for the visitors who did say yes: an ad blocker, a closed tab or a thank-you page that never loaded no longer decides whether their purchase reaches Meta, TikTok or Google. It doesn't create data for visitors who said no.

Where Shopify stores the visitor's choice

Shopify has its own customer privacy settings in the admin. According to Shopify's help center (checked December 2026), you can add a cookie banner there, let visitors opt out of their data being sold or shared, and manage the banner and data sharing per region, based on your markets.

You can also use a cookie banner app instead of Shopify's own banner. Shopify's help center says a third-party banner should be integrated with Shopify's customer privacy settings. That matters because apps and pixels on your store read the choice from Shopify (through its Customer Privacy API), not from your banner directly. If your banner app isn't connected, Shopify and your tracking apps may not know what the visitor chose.

Google Consent Mode v2 in one paragraph

Consent Mode v2 is how Google's tags are told what a visitor allowed. It has four signals: ad_storage, ad_user_data, ad_personalization and analytics_storage, each granted or denied. Shopify's help center says that event data sent to Google won't be used for personalised advertising unless Consent Mode v2 is active and valid consent was obtained, with the EEA named as an example. So for stores with European visitors, missing Consent Mode signals can quietly weaken your Google remarketing and measurement.

For server events the same idea applies: Google's server-side conversion uploads carry their own consent fields for user data and personalisation, which should match what the visitor chose in the browser.

How consent flows through a typical server-side setup

A setup that respects consent end to end usually looks like this:

  • The visitor makes a choice in the cookie banner, which stores it in Shopify's customer privacy settings.
  • Scripts on the storefront check that choice before saving ad click ids or starting ad pixels, and check again when the visitor changes it.
  • Google's tags start with Consent Mode set to denied and are updated to what the visitor accepted.
  • Server events carry the consent state along, so a platform knows whether it may use the data for ads.
  • Personal details such as email and phone are hashed before they are sent, and stored click data is deleted after a fixed period.

What changes in your numbers

Visitors who decline marketing cookies are not tracked for ads, with or without a server. Their orders still show up in Shopify, but the ad platform may not be able to link them to a campaign. Expect a gap between Shopify orders and platform purchases that grows with the share of visitors who decline, and don't try to close it by bypassing the banner.

Shopify's help center also points out that cookie consent affects analytics data, so a difference between reports isn't always a broken pixel. Before you change anything, check whether the gap is mostly in countries where you show a banner.

How Settl handles consent on Shopify

Settl reads the visitor's choice from Shopify's Customer Privacy API. The Settl script on your store only saves the ad click and starts the browser pixels when marketing is allowed, and checks again the moment a visitor makes a choice. The Settl custom pixel under Customer events is only run by Shopify with marketing consent.

For Google, Settl sets Consent Mode v2 to denied by default and then updates it to what the visitor accepted (marketing for the ad signals, analytics for analytics_storage). Server-side Google conversions are sent with the user data and personalisation consent marked granted only for visitors who accepted marketing, and denied otherwise. Klaviyo browsing events are only sent with marketing consent.

Email and phone are hashed (SHA-256) before they leave Settl's servers, and click data is deleted after 90 days. You stay responsible for your cookie banner and privacy policy, as with any pixel.

A quick consent check for your store

  • Open your store in a private window from a country where you show a banner. Before clicking anything, ad pixels shouldn't fire (a pixel helper extension shows this).
  • Decline, reload and check again. Then accept and confirm the pixels start.
  • If you use a banner app, confirm it's connected to Shopify's customer privacy settings, not only showing a banner.
  • In Google Tag Assistant, check that Consent Mode has a default state and an update after the choice.
  • Settl's free pixel checker lists the ad pixels and cookie consent tools it can see on a store, and warns when it finds pixels but no consent tool.

Common questions

Is server-side tracking a way to avoid the cookie banner?

No. It changes where events are sent from, not whether you need permission. Use it to make tracking reliable for visitors who consented.

Do I need a separate consent app on Shopify?

Not necessarily. Shopify has its own cookie banner in the customer privacy settings. A banner app is an alternative; if you use one, make sure it's integrated with Shopify's customer privacy settings so other apps see the choice.

Why do I see fewer purchases in my ad platform after adding a cookie banner?

Visitors who decline aren't tracked for ads, so platforms can't attribute their orders. Shopify still shows those orders. That gap is expected and server-side tracking won't remove it.

Does Settl send Google Consent Mode v2 signals?

Yes. Settl sets Consent Mode v2 to denied by default, updates it from the visitor's choice in Shopify's cookie banner, and marks server-side Google conversions with the matching consent.

Settl sends paid orders server-side to Meta, TikTok, Google and more, following the consent your Shopify cookie banner records.

See Settl's server-side tracking