Enables Google Analytics without setting cookies or storing any data in the browser. Asking for user consent in the frontend should not be necessary.
Cookieless Privacy-Focused Google Analytics adds the GA tracking script to your site while configuring it in such a way that no cookies or other data are stored in the end user’s browser. With this plugin, it should not be necessary to ask for user consent in order to be compliant with GDPR and other EU legislation.
Being able to use Google Analytics without having to display a cookie consent dialog was the primary motivation behind the plugin.
IP address anonymization via anonymizeIp
is enabled by the plugin, too, of course.
Google Analytics requires a client ID, a unique string that identifies the user’s browser and persists between page hits. Without this plugin, the client ID is generated by the Google Analytics script when a site is first visited and stored in a cookie.
This plugin basically does two things:
storage
to none
While Google Analytics works even without a client ID, many of its features require an ID that does not change between page hits or visits. This plugin generates the client ID on the fly in JavaScript while a page is loaded.
The generated client ID does not contain any personally identifiable information. This is achieved by:
The following components are used to build the client ID (the string that is then hashed):
Install the plugin and add your Google Analytics tracking code (UA-xxxxxx-y
). That’s it.
manage_options
)? (default: no)Install the plugin directly through the WordPress Admin dashboard.