このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Cookieless Privacy-Focused Google Analytics

説明

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)

スクリーンショット

  • Admin options

インストール

Install the plugin directly through the WordPress Admin dashboard.

評価

2020年10月17日
I needed to have simple analytics without the bullshit of cookies. It just works.
2件のレビューをすべて表示

貢献者と開発者

Cookieless Privacy-Focused Google Analytics はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Cookieless Privacy-Focused Google Analytics” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.0.1

  • Public release on wordpress.org

1.0.0

  • Initial release