Prevent yourself from triggering Google Tag Manager on your own website.
Google Tag Manager Blocker Extension
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.
Source Manifest.json
Similar Extensions
Tag Assistant Companion 1,000+ 204 ★ 179KiB
Analytics Debugger 1,000+ 211 ★ 300KiB
Google Analytics Debugger 1,000+ 37 ★ 27.1KiB
Block Yourself from Analytics 1,000+ 138 ★ 41.94KiB
Google Analytics Debugger 1,000+ 533 ★ 28.88KiB
Datalayer Checker 1,000+ 33 ★ 93.13KiB
TagHound - Analytics/GTM/Pixel Debugger 1,000+ 63 ★ 1.77MiB
Web Data Assistant 1,000+ 62 ★ 80.57KiB
GTM Sonar 1,000+ 14 ★ 15.94KiB
dataslayer 1,000+ 80 ★ 417KiB
UET Tag Helper (by Microsoft Advertising) 1,000+ 25 ★ 216KiB
Da Vinci Tools 1,000+ 34 ★ 1.2MiB
Web Vitals 1,000+ 43 ★ 398KiB
Adswerve - dataLayer Inspector+ 1,000+ 56 ★ 517KiB
WASP.inspector: Analytics Solution Profiler 1,000+ 189 ★ 401KiB
Omnibug 1,000+ 50 ★ 1.35MiB
[DEPRECATED] Tag Assistant for Conversions 1,000+ 19 ★ 410KiB
GTM Copy Paste 1,000+ 49 ★ 726KiB
Debugger for Google Analytics 4 (GA4) 1,000+ 28 ★ 102KiB
Get Google Tag Manager Size 1,000+ 50 ★ 547KiB
ObservePoint Debugger 1,000+ 52 ★ 3.6MiB
GTM Variable Builder 1,000+ 30 ★ 82.71KiB
Simple Data Layer Viewer 1,000+ 13 ★ 77.96KiB
GTM Helper 1,000+ 4 ★ 31.28KiB
User reviews
Jake Bridge (ID: 000000c5fe0b7472) Voted 5 ★ - Updated 03/16/2021