This article collects errors or bugs of Google Tag Manager. It also provides solutions and will be continuously updated. If you encounter a problem, you can share it with me and I will update it to help more people.
Chrome is not loading GTM Embed Code
If you use Tag Assistant appears Request timeout, No response from GA.
This is because https://www.googletagmanager.com/gtm.js?id=GTM-*** failed to load, you can see 404 on the network in the browser developer tools, this situation only occurs in In chrome, but not all chrome will have problems.
If you switch to Firefox and safari, it can be loaded normally, so it is not a server problem. Although only 404 appears in chrome, it is obviously related to the browser. It is estimated that it is a browser mechanism or setting problem.
You may encounter:
This is because GTM has a malware detection mechanism, which was released in 2016. It will automatically detect whether there is malware in the configuration in the container, and prompt if there is.
Generally speaking, the introduction of some unknown js will trigger.
If you are deploying a third-party tracking code, you can first see if there is a template in the Community Template Gallery, and if so, use it.