What is the _gid cookie?
ID used to identify users for 24 hours after last activity.
Our November 2026 scan found it on 135 sites (6% of the 2,421 we scanned), set before any consent.
- Purpose
- Analytics
- Belongs to
- Google Analytics
- Set as
- First-party (under the site's own domain)
- Typical lifetime
- 1 day (vendor says: 24 hours)
Sites that set _gid before consent
The highest-ranked 30 of 135 sites.
- scorecardresearch.com1 tracking company
- pki.goog1 tracking company
- who.int3 tracking companies
- harvard.edu4 tracking companies
- ok.ru6 tracking companies
- pushy.io2 tracking companies
- uol.com.br20 tracking companies
- media.net6 tracking companies
- mediafire.com5 tracking companies
- wattpad.com3 tracking companies
Show 20 more sites
- zillow.com4 tracking companies
- usda.gov4 tracking companies
- liftoff.io6 tracking companies
- spamhaus.org3 tracking companies
- marca.com9 tracking companies
- yale.edu3 tracking companies
- hotpepper.jp13 tracking companies
- vnexpress.net20 tracking companies
- postgresql.org1 tracking company
- savefrom.net1 tracking company
- ixl.com1 tracking company
- mundodeportivo.com7 tracking companies
- netkeiba.com18 tracking companies
- admanmedia.com1 tracking company
- jalan.net27 tracking companies
- auone.jp10 tracking companies
- mbga.jp2 tracking companies
- carsensor.net31 tracking companies
- jutarnji.hr11 tracking companies
- indianrail.gov.in15 tracking companies
Related cookies
Other cookies from Google Analytics.
How to stop it
Declining non-essential cookies in a site's consent banner should stop _gid being set on later visits. Blocking third-party cookies in your browser settings stops the third-party kind everywhere, and clearing cookies for a site removes any it already set.
Description from the Open Cookie Database (Apache 2.0).
Understanding this page
- How cookie lifetimes work, and why a 13-month _ga matters
What a cookie's "expires" field actually controls, why Google Analytics ships a 2-year default that many sites cut down to 13 months, and how Safari's 7-day cap on script-set cookies changes the picture.
- First-party vs third-party cookies (and why "first-party" still tracks you)
What the distinction actually means technically, why browsers only block one of the two, and how CNAME cloaking, server-side tagging and cookies like _ga let sites keep tracking under their own domain.
- How to block or limit trackers
Browser privacy settings, content blockers, Global Privacy Control and clearing cookies compared honestly — what each one actually stops, what it doesn't, and what it costs you in return.