Integrations
Google Analytics 4Google Analytics 4
preset documentationDocumentation

CookiePilot GA4 preset

GA4 usually belongs to analytics and should wait for analytics_storage granted, except for cookieless Consent Mode pings.

Overview

GA4 usually belongs to analytics and should wait for analytics_storage granted, except for cookieless Consent Mode pings.

Category: analytics.
Consent Mode: analytics_storage denied before consent.
Google cookieless pings with denied are not the same as tracking cookies.

Setup steps

  1. 1Make the GA4 tag consent-aware in GTM or gtag.
  2. 2Do not write _ga before analytics granted.
  3. 3After Accept, check g/collect and the dataLayer update.

Test checklist

  • No _ga before consent.
  • gcd shows analytics denied.
  • After Accept, analytics is granted.
  • Conversion events are not duplicated in GTM.

FAQ

Is this legal advice?

No. It is an implementation guide. For unusual data flows, confirm the setup with your legal or privacy team.

Does CookiePilot block every script automatically?

CookiePilot supports autoblocking and Consent Mode. Trackers hardcoded before the CMP still need to be moved behind the stub or into GTM Consent Initialization.