Mobile app version of vmapp.org
Login or Join
Fox8124981

: What is the Google Analytics cookie expiration? Do you know how long it takes for the Google Analytics cookie to time out before a user is recognized as new again? I believe it is 2 years.

@Fox8124981

Posted in: #Cookie #GoogleAnalytics #Users

Do you know how long it takes for the Google Analytics cookie to time out before a user is recognized as new again? I believe it is 2 years. Is that right?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Fox8124981

1 Comments

Sorted by latest first Latest Oldest Best

 

@Vandalay111

Depending on what cookie you mean exactly, 2 years would probably be the answer you're looking for based on this source: developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage
Additional details

Google itself lists three main cookies that are set by the analytics script:


"_ga" with a lifetime of "2 years" that is "Used to distinguish users."
"_gid" with a lifetime of "24 hours" that is "Used to distinguish users."
"_ga" with a lifetime of "1 minute" that is "Used to throttle request rate."


Beyond that there are 7 more specific cookies that handle things like distinguishing between users/sessions and setting user level data. Their expiration time is between 10 minutes and 2 years.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme