Back to all cookies
AnalyticsConsent required

_gid

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

Does your site set _gid before consent?

Scan my website free
Expiry

24 hours

Set by

Google LLC

GDPR & ePrivacy guidance

_gid 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 _gid 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.

Related cookies

Is _gid on your site?

Scan my website free