GA4 session state cookie. Stores the current session ID and engagement state for the property; one is set per GA4 measurement ID.
2 years
Google LLC
_ga_<container-id> is a analytics cookie. Under Art. 5(3) ePrivacy Directive and the GDPR, it must not be set before the visitor has given prior, informed, freely-given consent.
If your scanner finds _ga_<container-id> on a page before the visitor interacts with your consent banner, that's a violation — the cookie loaded without a legal basis.
Fix: gate the script that sets this cookie behind your CMP, so it only fires after the relevant consent category is accepted.
Run a free CookieSentry scan to find every cookie set before consent — including _ga_<container-id> — and get a downloadable evidence PDF.
Run a free scan →