Title: Cookieless Privacy-Focused Google Analytics
Author: hiroprot
Published: <strong>5. Juni 2020</strong>
Last modified: 5. Juni 2020

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/cookieless-privacy-focused-google-analytics/assets/icon-256x256.
png?rev=2319240)

# Cookieless Privacy-Focused Google Analytics

 By [hiroprot](https://profiles.wordpress.org/hiroprot/)

[Download](https://downloads.wordpress.org/plugin/cookieless-privacy-focused-google-analytics.zip)

 * [Details](https://de-ch.wordpress.org/plugins/cookieless-privacy-focused-google-analytics/#description)
 * [Reviews](https://de-ch.wordpress.org/plugins/cookieless-privacy-focused-google-analytics/#reviews)
 *  [Installation](https://de-ch.wordpress.org/plugins/cookieless-privacy-focused-google-analytics/#installation)
 * [Development](https://de-ch.wordpress.org/plugins/cookieless-privacy-focused-google-analytics/#developers)

 [Support](https://wordpress.org/support/plugin/cookieless-privacy-focused-google-analytics/)

## Description

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.

### How It Works

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:

 * Disable all Google Analytics cookies by setting `storage` to `none`
 * Generate an alternative client ID on the fly whenever a page is loaded

### Client ID Generation

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:

 1. Hashing the components that make up the client ID.
 2. Switching to a new ID every few days (configurable).

The following components are used to build the client ID (the string that is then
hashed):

 * Client IP address as seen by the webserver
 * Domain of the website where the plugin is installed
 * Browser user agent
 * Browser language
 * Validity period (a number that changes every n days to force a new client ID 
   and prevent long-term tracking)

### Usage

Install the plugin and add your Google Analytics tracking code (`UA-xxxxxx-y`). 
That’s it.

### Configurable Settings

 * Google Analytics tracking code
 * Validity period of the client ID in days (default: 4)
 * Enable the analytics script for WordPress admins (users that have the capability`
   manage_options`)? (default: no)

## Screenshots

[⌊Admin options⌉⌊Admin options⌉[

Admin options

## Installation

Install the plugin directly through the WordPress Admin dashboard.

## Reviews

![](https://secure.gravatar.com/avatar/ace5b1dfc5e96d8f6919f47f44c499b5130940284e3e7affe9738ef9f1c42331?
s=60&d=retro&r=g)

### 󠀁[It just works!](https://wordpress.org/support/topic/it-just-works-630/)󠁿

 [JOGUI22](https://profiles.wordpress.org/jogui22/) 17. Oktober 2020

I needed to have simple analytics without the bullshit of cookies. It just works.

![](https://secure.gravatar.com/avatar/beb66d60e3f8f15290a272c2a39c3b70106258a47319eb50a64f0ddb93da0bfa?
s=60&d=retro&r=g)

### 󠀁[The Best Plugin for Google Analytics](https://wordpress.org/support/topic/the-best-plugin-for-google-analytics-2/)󠁿

 [abhiramreddy](https://profiles.wordpress.org/abhiramreddy/) 23. August 2020

Thanks to the developer, this really helped me solve a lot of problems regarding
analytics

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/cookieless-privacy-focused-google-analytics/reviews/)

## Contributors & Developers

“Cookieless Privacy-Focused Google Analytics” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ hiroprot ](https://profiles.wordpress.org/hiroprot/)

[Translate “Cookieless Privacy-Focused Google Analytics” into your language.](https://translate.wordpress.org/projects/wp-plugins/cookieless-privacy-focused-google-analytics)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/cookieless-privacy-focused-google-analytics/),
check out the [SVN repository](https://plugins.svn.wordpress.org/cookieless-privacy-focused-google-analytics/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/cookieless-privacy-focused-google-analytics/)
by [RSS](https://plugins.trac.wordpress.org/log/cookieless-privacy-focused-google-analytics/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.1

 * Public release on wordpress.org

#### 1.0.0

 * Initial release

## Meta

 *  Version **1.0.1**
 *  Last updated **6 Jahren ago**
 *  Active installations **100+**
 *  WordPress version ** 4.4 or higher **
 *  Tested up to **5.4.25**
 *  PHP version ** 7.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/cookieless-privacy-focused-google-analytics/)
 * Tags
 * [analytics](https://de-ch.wordpress.org/plugins/tags/analytics/)[cookie](https://de-ch.wordpress.org/plugins/tags/cookie/)
   [GDPR](https://de-ch.wordpress.org/plugins/tags/gdpr/)[google analytics](https://de-ch.wordpress.org/plugins/tags/google-analytics/)
   [privacy](https://de-ch.wordpress.org/plugins/tags/privacy/)
 *  [Advanced View](https://de-ch.wordpress.org/plugins/cookieless-privacy-focused-google-analytics/advanced/)

## Ratings

 5 von 5 Sternen.

 *  [  2 5-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/cookieless-privacy-focused-google-analytics/reviews/?filter=5)
 *  [  0 4-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/cookieless-privacy-focused-google-analytics/reviews/?filter=4)
 *  [  0 3-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/cookieless-privacy-focused-google-analytics/reviews/?filter=3)
 *  [  0 2-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/cookieless-privacy-focused-google-analytics/reviews/?filter=2)
 *  [  0 1-Sterne-Rezensionen     ](https://wordpress.org/support/plugin/cookieless-privacy-focused-google-analytics/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/cookieless-privacy-focused-google-analytics/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/cookieless-privacy-focused-google-analytics/reviews/)

## Contributors

 *   [ hiroprot ](https://profiles.wordpress.org/hiroprot/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/cookieless-privacy-focused-google-analytics/)