Google Tag Manager Blocker
Item logo image for Google Tag Manager Blocker

Google Tag Manager Blocker

Featured
4.0(

4 ratings

)
ExtensionDeveloper Tools1,000 users
Item media 2 screenshot
Item media 3 screenshot
Item video thumbnail
Item media 2 screenshot
Item media 3 screenshot
Item video thumbnail
Item media 2 screenshot
Item video thumbnail
Item media 2 screenshot
Item media 3 screenshot

Overview

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

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.

4 out of 54 ratings

Google doesn't verify reviews. Learn more about results and reviews.

Review's profile picture

Octave LaurentinFeb 13, 2024

not working

Review's profile picture

Jake BridgeMar 16, 2021

Super useful!

1 person found this review to be helpful

Details

  • Version
    0.0.1
  • Updated
    February 17, 2021
  • Offered by
    thomasharperdev
  • Size
    26.74KiB
  • Languages
    English
  • Developer
    Email
    thomasharperdev@gmail.com
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

The developer has disclosed that it will not collect or use your data.

This developer declares that your data is

  • Not being sold to third parties, outside of the approved use cases
  • Not being used or transferred for purposes that are unrelated to the item's core functionality
  • Not being used or transferred to determine creditworthiness or for lending purposes
Google apps