Google Tag Manager Blocker
4 oceny
)


Przegląd
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 na 54 oceny
Szczegóły
- Wersja0.0.1
- Zaktualizowano17 lutego 2021
- Sprzedawcathomasharperdev
- Rozmiar26.74KiB
- JęzykiEnglish
- Deweloper
E-mail
thomasharperdev@gmail.com - Osoba niebędąca przedsiębiorcąTen deweloper nie określił, że jest przedsiębiorcą. Pamiętaj, że prawa konsumentów nie obowiązują w przypadku umów zawartych między tym deweloperem a konsumentami z Unii Europejskiej.
Prywatność
Ten wydawca oświadcza, że Twoje dane
- nie są sprzedawane osobom trzecim (z wyjątkiem uzasadnionych przypadków)
- nie są używane ani przesyłane w celach niezwiązanych z podstawową funkcją produktu,
- nie są używane ani przesyłane w celu ustalenia zdolności kredytowej lub udzielania pożyczek.