FewCookies

Cookie glossary · Functional

What is the g_state cookie?

Google Sign-In cookie for managing authentication state. It is set by Google and classified as "Functional". Requires consent.

At a glance

Provider Google
Category Functional
Consent required? Yes
Typical domain Varies (first-party)

How FewCookies handles this cookie

FewCookies recognises g_state from our database of 1,300+ known cookies and classifies it automatically as "Functional". The free check tells you whether this cookie is detected on your site and whether your banner handles it correctly — an instant, surface-level check, no account needed.

Check your site for free →

Frequently asked questions

Do you need consent for the g_state cookie?

Yes. g_state is a "Functional" cookie, so it is not strictly necessary. Under the ePrivacy Directive (2002/58/EC) and Romania's Law 506/2004, you must obtain the visitor's explicit consent before setting it.

What does the g_state cookie do?

Google Sign-In cookie for managing authentication state.

Who sets the g_state cookie?

The g_state cookie is associated with Google and is classified as functional.