spqr/googleoptout released

Google Opt Out extension for Pagekit

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:

  1. Download from marketplace
  2. Open System Settings > Extensions
  3. Click Google Optout
  4. Enter your tracking ID (property)
  5. 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.

{{ message }}

{{ 'Comments are closed.' | trans }}

Wait a second!

Did you know that there's are great support channels for Pagekit? Visit us today and sign up for free using email or your GitHub-, Twitter-, Google- or Facebook-Account.

Latest blog posts

Latest comments

  • How to fork a theme

  • spqr/toc updated

  • spqr/toc updated

Like my work?

If you would like to support my work, you are invited to do so.