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?

1 Answer 1


Depending on what cookie you mean exactly, 2 years would probably be the answer you're looking for based on this source: https://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.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.