Watch: Add a cookie banner that controls my tracking | Vovy

Watch Vovy do it on a Mac: "Add a cookie consent banner that works with GA4 and my Meta pixel". Vovy adds a cookie banner that holds back analytics and ad tags until visitors agree, and wires it to Google Consent Mode v2 so your ads keep measuring.

"Add a cookie consent banner that works with GA4 and my Meta pixel"

Vovy adds a cookie banner that holds back analytics and ad tags until visitors agree, and wires it to Google Consent Mode v2 so your ads keep measuring.

What happens in the video

  1. List what sets cookies: Vovy loads your site and lists every tracker in DevTools, like GA4, Meta Pixel, PostHog and chat widgets.
  2. Add the banner: Cursor adds a banner with equal Accept and Reject buttons and a settings link, since EU rules say rejecting must be as easy as accepting.
  3. Wire Consent Mode v2: It sets Google's consent defaults to denied, including ad_user_data and ad_personalization, and updates them when a visitor accepts.
  4. Hold other tags until consent: It delays the Meta Pixel and other trackers until the visitor accepts, and remembers their choice.
  5. Test both choices: Vovy rejects, confirms no tracking cookies are set, then accepts and confirms tags fire. A card shows both results.
Read the step-by-step guide