Prevent yourself from triggering Google Tag Manager on your own website.

Latest Version

Version
0.0.1
Update
February 17, 2021
Size
26.74KiB
Developer
Category
Users
1,000+
Rating
4 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
See more

Google Tag Manager Blocker Extension

This extension allows you to block internal traffic from triggering a connection to Google Tag Manager, hence allowing you to avoid corrupting the analytics and events data generated by your website.

See the GitHub page here: https://github.com/tommyrharper/gtm-disabler-chrome

In order to install this on your on your website you will need to:
Insert the following tag into your HTML header:

```HTML

```

Now you can use this piece of code wherever you connect to Google Tag Manager on the FE of your application using the following Logic:
```JavaScript
const GTMBlocker = document.querySelector('meta[name=\"GTM-Blocker\"]');
const GTMBlockerEnabled = GTMBlocker.content === 'enabled'

if (GTMBlockerEnabled) // DO NOT CONNECT TO GOOGLE TAG MANAGER
else // CONNECT TO GOOGLE TAG MANAGER
```

Now when you visit your own webpage, with Google Tag Manager Blocker enabled on you, will no longer connect to GTM, and no false events will be triggered.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Google Tag Manager Blocker", "version": "0.0.1", "description": "Prevent yourself from triggering Google Tag Manager on your own website.", "background": { "scripts": ["./backgroundScripts/background.js"], "persistent": false }, "content_scripts": [ { "matches": [""], "js": ["./contentScripts/main.js"], "run_at": "document_start" } ], "browser_action": { "default_popup": "./popup/view/popup.html", "default_icon": { "64": "images/GTM-Blocker.png" } }, "icons": { "64": "images/GTM-Blocker.png" }, "manifest_version": 2}
Read more

Similar Extensions

icon

Tag Assistant Companion Extension · Developer Tools 1,000+ 204 ★ 179KiB

icon

Analytics Debugger Extension · Developer Tools 1,000+ 211 ★ 300KiB

icon

Google Analytics Debugger Extension · Developer Tools 1,000+ 37 ★ 27.1KiB

icon

Block Yourself from Analytics Extension · Developer Tools 1,000+ 138 ★ 41.94KiB

icon

Google Analytics Debugger Extension · Developer Tools 1,000+ 533 ★ 28.88KiB

icon

Datalayer Checker Extension · Developer Tools 1,000+ 33 ★ 93.13KiB

icon

TagHound - Analytics/GTM/Pixel Debugger Extension · Developer Tools 1,000+ 63 ★ 1.77MiB

icon

Web Data Assistant Extension · Developer Tools 1,000+ 62 ★ 80.57KiB

icon

GTM Sonar Extension · Developer Tools 1,000+ 14 ★ 15.94KiB

icon

dataslayer Extension · Developer Tools 1,000+ 80 ★ 417KiB

icon

UET Tag Helper (by Microsoft Advertising) Extension · Developer Tools 1,000+ 25 ★ 216KiB

icon

Da Vinci Tools Extension · Developer Tools 1,000+ 34 ★ 1.2MiB

icon

Web Vitals Extension · Developer Tools 1,000+ 43 ★ 398KiB

icon

Adswerve - dataLayer Inspector+ Extension · Developer Tools 1,000+ 56 ★ 517KiB

icon

WASP.inspector: Analytics Solution Profiler Extension · Developer Tools 1,000+ 189 ★ 401KiB

icon

Omnibug Extension · Developer Tools 1,000+ 50 ★ 1.35MiB

icon

[DEPRECATED] Tag Assistant for Conversions Extension · Developer Tools 1,000+ 19 ★ 410KiB

icon

GTM Copy Paste Extension · Productivity 1,000+ 49 ★ 726KiB

icon

Debugger for Google Analytics 4 (GA4) Extension · Developer Tools 1,000+ 28 ★ 102KiB

icon

Get Google Tag Manager Size Extension · Developer Tools 1,000+ 50 ★ 547KiB

icon

ObservePoint Debugger Extension · Developer Tools 1,000+ 52 ★ 3.6MiB

icon

GTM Variable Builder Extension · Developer Tools 1,000+ 30 ★ 82.71KiB

icon

Simple Data Layer Viewer Extension · Developer Tools 1,000+ 13 ★ 77.96KiB

icon

GTM Helper Extension · Developer Tools 1,000+ 4 ★ 31.28KiB

User reviews

icon

Jake Bridge (ID: 000000c5fe0b7472) Voted 5 ★ - Updated 03/16/2021 Super useful!