Skip to content
CookieTosser

What is the _gid cookie?

ID used to identify users for 24 hours after last activity.

Our October 2026 scan found it on 185 sites (8% of the 2,450 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 185 sites.

Show 20 more sites

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