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
- 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 from each category of cookies if you are using cookie categories (or disable cookie categories)
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':
For a full list of cookies used by Google Analytics refer to this page: https://developers.google.com/analytics/devguides/collection/analyticsjs/cookie-usage