Head code

Add a GDPR cookie-consent banner

The moment you add an ad pixel or third-party tracker, you take on a consent obligation in the EU, UK and beyond. A drop-in consent banner handles it without legal work.

Consent gate for Meta/TikTok/Google pixels GDPR, UK GDPR and ePrivacy compliance Region-aware banners for EU visitors

There's a built-in way too

PodView has a built-in GDPR consent banner (Analytics → Setup) that gates its own trackers and GA4 for you — turn that on first. Use one of these tools when you need category-level consent, automatic cookie scanning, or a consent log.

The snippet

<script id="Cookiebot"
        src="https://consent.cookiebot.com/uc.js"
        data-cbid="YOUR-COOKIEBOT-ID"
        data-blockingmode="auto" type="text/javascript"></script>

This is Cookiebot in auto-blocking mode — swap YOUR-COOKIEBOT-ID and paste it FIRST in the Head slot, before any pixel, so trackers are blocked until consent. CookieYes and Osano work the same way.

No coding? Ask an AI

Give me the install snippet for a [Cookiebot / CookieYes / Osano] cookie-consent banner that auto-blocks trackers until the visitor consents, as a <script> tag for the page head, with a placeholder for my account ID.

How to add it

  1. 1 Copy the snippet above and adjust the placeholder values.
  2. 2 In your PodView Control Panel, open Advanced (Creator plan).
  3. 3 Paste it into the Head code field and turn its toggle on.
  4. 4 Save, then reload your public site to confirm it works.

PodView renders custom code exactly as written. Only paste snippets from sources you trust, and add one at a time so you can spot any that misbehaves.

Advanced Customization is a Creator feature

Paste this snippet and go live in minutes once you're on Creator.

See Creator pricing