Google Tag Manager Blocker
thomasharperdev
(4 人评分) |1000 位用户 | 来自
商店
|

概述
翻译

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.

来自商店的评价 (0)

尚无人评价此扩展,查看 所有语言

留言

支持浏览器

适用于以下浏览器

其他信息

文件类型
crx
版本
0.0.1 已同步至最新
更新日期
2021年2月17日 3年前
大小
26.74KiB
Manifest 版本
2
语言
查看全部1种支持的语言
权限
所属类别
开发者