spqr/googleoptout released

Today I released another extension. spqr/googleoptout allows your users to decide, whether they want to be tracked by Google or not.
To archive this, the extension loads some JavaScript, that adds the value window[this.disableStr] = true;
to your page.
It also drops a cookie, as the value should be set automatically if the user returns to your page later.
It's quite easy to install and setup this extension:
- Download from marketplace
- Open System Settings > Extensions
- Click Google Optout
- Enter your tracking ID (property)
- Let the extension manage the tracking code for you - so click the checkbox
That's it. If you included your Google tracking script before - e.g. in Site > Settings > Code, please remove it. For details check out the project page.
{{ 'Comments (%count%)' | trans {count:count} }}
{{ 'Comments are closed.' | trans }}