MARKETPLACE
PLUGINS
GOOGLE ANALYTICS - JUST NOT MYSELF
Google Analytics - Just not myself logo

Google Analytics - Just not myself

Published June 2021
   •    Updated October 2025

Plugin details

A simple Google Analytics plugin that you can use to activate tracking for everyone, but yourself. Just call your URL and append ?disablega=true to your URL. From that moment on, there's a little Cookie stored in your browser - remembering that you don't want to have analytics active here.
You can also use this plugin with your users - as there are two workflows that allow you triggering this behaviour.

For Pros: Double check it's working by opening the JavaScript console and check for this output: "Google Analytics is deactivated"

Free

For everyone

stars   •   0 ratings
47 installs  
This plugin does not collect or track your personal data.

Other actions

Platform

Web

Contributor details

Doc.Digtial logo
Doc.Digtial
Joined 2020   •   3 Plugins
View contributor profile

Instructions

Follow the instructions here to create an account on Google Analytics if you don't have one yet: https://support.google.com/analytics/answer/1008015


Find your tracking ID:

https://support.google.com/analytics/answer/1008080

It is a string like UA-000000-2. You must set it in the configuration of this plugin, to tell Analytics which account and property to send data to.


Then on every browser that you want to take out of analytics - call your site with appending ?disablega=true to the URL.

To activate it again, append ?disablega=false to your site.
There are also two workflows provided, that you can run to activate or deactivate analytics on this browser.

Note that if your URL already contains a "?" - then append &disablega=false to the URL. For example if you run it in Development or debug mode you might have to write "?debug_mode=true&disablega=true".

Note that it does not prevent loading resources from Google. It's just that the "tagging" calls will not run and no data will be attributed to your Google Analytics account.

You only need to run it once - it's then stored in your browser.


Types

This plugin can be found under the following types:

Categories

This plugin can be found under the following categories:

Resources

Support contact
Documentation
Tutorial

Rating and reviews

No reviews yet

This plugin has not received any reviews.
Bubble