How does the banner hold back tracking scripts and Google tags?
Open Cookie consent > Services.
Blocking
With Hold known tracking scripts until visitors agree on, the scripts and embedded videos of the listed services (Google Analytics, Google Tag Manager, Google Ads, Meta Pixel, TikTok Pixel, Pinterest, Snap, X, Microsoft Advertising, LinkedIn, Reddit, Microsoft Clarity, Hotjar, YouTube, Vimeo) wait until the visitor allows their category: Analytics, Marketing or Preferences. Untick Hold until the visitor agrees for a service that should always run. Found on your store marks the services the banner has seen on your pages.
A held YouTube or Vimeo video shows a placeholder with a button that opens the cookie preferences.
The banner runs from the app embed in the page body, so a tracking script your theme loads in the page head before the embed may start before the banner can hold it. Scripts added later, by apps or by your theme’s sections, are held.
Google Consent Mode v2
With Send Google Consent Mode v2 signals on, every signal is set to denied before any Google tag the banner holds runs, then updated with the visitor’s choice.
- Advanced (default): Google tags load at once and send cookieless pings until the visitor agrees.
- Basic: Google tags are held back like any other service until the visitor agrees.
- Redact ads data while ad cookies are denied and Pass ad click information through links set Google’s
ads_data_redactionandurl_passthrough.
It works with Google tags you add yourself (gtag.js, Google Tag Manager) and with Shopify’s Google & YouTube app.
Other ad platforms
The banner also passes the visitor’s choice to the Meta Pixel, Microsoft Advertising (UET), Microsoft Clarity and the TikTok Pixel through their own consent calls. Signals only reach tags that are on the page; held-back scripts get them once they load.
Scripts the banner doesn’t know
Change the script’s type to text/plain and name its category in data-etiketto-consent. The banner runs it once the visitor allows that category:
<script type="text/plain" data-etiketto-consent="marketing">
// your tracking code
</script>
<script type="text/plain" data-etiketto-consent="analytics" src="https://example.com/tag.js"></script>
The categories are analytics, marketing and preferences.
Pixels you add under Settings > Customer events in Shopify follow the visitor’s choice through Shopify; there is nothing to change there.