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
<meta name="GTM-Blocker" content="disabled" />
```
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.
Extore is a team of professionals who are passionate about creating extensions for web browsers. This devotion also gives us opportunity to appreciate work of other people. We get inspired by useful, open source extensions made by developers all over the world. Our strong belief is that one should share helpful add-ons with others. That’s why we’d like to present you our ever-growing list of favourite extensions that have inspired us. Moreover, as you probably have already learned, sometimes struggling for the best brings an end to the good. Talking about add-ons it often turns out that an upgrade is worse then previous version. Also it can become really tricky to get back to the beloved version of your favourite extension. That’s why we’re going to make not only the latest, but all versions of our favourite (and we hope yours too) add-ons available for download. No more compromises, just stick to the version you really like!