Faq How do i exclude Google Analytics from being blocked?
How do i exclude Google Analytics from being blocked?

By default Google Analytics cookies will be blocked as requested by the most strict compliance. If you are using Google Analytics with the anonymization option activated, you can continue to use it without the need to block its cookies and still be compliant.
In this case, the easiest way to allow cookies used by Google Analytics and continue to have it working is:

  • Add a list of cookies used by Google Analytics in the 'Allow local cookies' parameter, usually the full list of used cookies will be: _ga,_gid_gat,__utma,__utmb,__utmc,__utmt,__utmv,__utmz. Based on the library and options used for Google Analytics you may need additional cookies to exclude.
  • Remove all domains blocking resources from Google or Google Analytics if you have activated the option to block third-party cookies
  • Remove all domains blocking resources from Google or Google Analytics e.g. google-analytics.com and googletagmanager.com from each category of cookies if you are using cookie categories (or disable cookie categories)
  • If the Google Consent Mode v2 has been enabled and integrated with GDPR, ensure that the default consent state is set to 'granted' instead of 'denied': 'analytics_storage': 'granted'


google analytics

google analytics

Additionally you may need to disable the following parameter in order to allow to the Google Analytics script to set cookies normally, so turn 'Block local cookies definition' to 'No':


google analytics

For a full list of cookies used by Google Analytics refer to this page: https://developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage