Install

Wix

Paste this under Settings → Custom Code, in the head, on all pages.

Steps

  1. In the Wix dashboard: Settings → Custom Code → Add Custom Code. Custom code needs a paid Wix plan with a connected domain.
  2. Paste the snippet. Set Add code to pages to All pages, Place code in to Head, and apply.
  3. Verify the domain in the panel, then publish a banner. Wix’s own consent policy is set from every decision automatically, so Wix’s analytics and marketing tools follow it.

“The Site ID” is your domain’s identifier, shown under Domains → Install tag in the panel.

Snippet

The default, then the tag
<script>
window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}
gtag('consent','default',{ad_storage:'denied',ad_user_data:'denied',ad_personalization:'denied',analytics_storage:'denied',wait_for_update:500});
</script>
<script async src="https://cdn.cmpstack.io/cmpstack.js" data-site="YOUR-SITE-ID" data-api="https://api.cmpstack.io"></script>

Replace YOUR-SITE-ID with your Site ID, or copy the snippet from the panel, where it is already filled in.

Other routesPaste the snippetWordPressGoogle Tag ManagerShopify