Cookiesentry

Cookie checkerFeaturesPricingBlogContact
Home/Cookies Guide/Google Analytics
Back to all cookies

Google Analytics cookies

Google Analytics sets 5 cookies on websites that load its scripts. Below is the full list with purpose, expiry, and whether each one needs GDPR / ePrivacy consent.

Source: Google LLCOfficial cookie reference
_gaAnalyticsExpires: 2 years

Distinguishes unique users by assigning a randomly generated client ID. Used by both Universal Analytics and GA4 properties.

_ga_<container-id>AnalyticsExpires: 2 years

GA4 session state cookie. Stores the current session ID and engagement state for the property; one is set per GA4 measurement ID.

_gidAnalyticsExpires: 24 hours

Used by Universal Analytics to distinguish users over a 24-hour window. Largely deprecated since GA4 but still found on legacy sites.

_gatAnalyticsExpires: 1 minute

Throttles the request rate to Google Analytics on high-traffic sites. Often appears as _gat_gtag_<id>.

_dc_gtm_<container-id>AnalyticsExpires: 1 minute

Used by Google Tag Manager to throttle the request rate to Google Analytics. Set when GTM loads GA on the page.

Catch unconsented Google Analytics cookies

CookieSentry scans your site, identifies every Google Analytics cookie set before consent, and gives you an evidence-grade PDF for your DPO.

Run a free scan →
Cookiesentry
About usFAQContactBlogCookies GuidePrivacyTermsEU Hosting

No cookies. No tracking. Analytics by EU-hosted Umami.

© 2025 CookieSentry. All rights reserved. Made with care for your privacy.