Webflow sync, pageviews & more.
NEW

Are the cookies "_ga" and "_GA_XXXXXXXX" stored by Webflow for GTM tracking purposes or do they track user behavior, potentially breaching GDPR regulations?

TL;DR
  • _ga and _GA_XXXXXXXX cookies are set by Google Analytics via GTM or manually injected scripts, not by Webflow by default.
  • They track user behavior and require prior user consent to comply with GDPR, so a cookie consent solution is necessary when using GA or GTM on Webflow sites.

The cookies _ga and _GA_XXXXXXXX are Google Analytics cookies, not set directly by Webflow, but by GA scripts added via Google Tag Manager (GTM). They track user behavior and can impact GDPR compliance if not handled correctly.

1. Source of the _ga Cookies

  • _ga and _GA_XXXXXXXX are cookies set by Google Analytics 4 (GA4).
  • Webflow itself does not set these cookies by default.
  • These cookies are typically added when a Google Analytics script is injected, either:
  • Directly into the Webflow project settings (under Custom Code), or
  • Through Google Tag Manager embedded in the or .

2. Purpose of These Cookies

  • _ga: Used to distinguish users by assigning a random Client ID. Default lifespan is 2 years.
  • _GA_XXXXXXXX: Used by GA4 to persist session state. The suffix is your GA4 Measurement ID.

3. GDPR Implications

  • These cookies track user behavior (e.g., pageviews, session durations, and more).
  • Under the GDPR and ePrivacy Directive, this qualifies as personal data tracking.
  • Prior consent is required before setting these cookies within the EU/UK, typically managed via a Cookie Consent Manager (e.g., Cookiebot, Osano, Finsweet Cookie Consent).

4. What Webflow Provides

  • Webflow does not embed Google Analytics or GTM automatically.
  • You must manually add GTM or GA code, which means you’re responsible for GDPR compliance if these scripts are added.

Summary

The _ga and _GA_XXXXXXXX cookies are set by Google Analytics via GTM, not Webflow. They track user behavior and require prior user consent under GDPR. Ensure you implement a cookie consent solution if you're using GA or GTM on your Webflow site.

Rate this answer

Other Webflow Questions