![]() ![]() The end result of using the CDN is that the static content will be delivered faster to the visitor from the network node in the closest proximity to the visitor, thereby shortening the amount of time it takes the page load for your site’s visitors.ĬDN also affects how JavaScript is pulled, and gtm.js (Google Tag Manager’s JS library) isn’t an exception. Cloudflare Is Altering the Way GTM.JS Is LoadedĪ Content Delivery Network or CDN is designed to cache the static content on sites through a wide geographic network. If that is your case, try disabling this checkbox (see the screenshot below): However, some websites do not support custom URL parameters, hence might not work (or throw things like “404 Page Not Found” errors). When you want to enable the Preview and Debug mode, it adds a gtm_debug=x parameter to the URL. Try disabling the preview mode’s query parameter Complete all the steps that the preview mode requires (e.g. enter the URL of the page).If you already have a Preview mode’s tab open, close it, and click the Preview button in the GTM interface once again. ![]() Click the Submit button in the top right corner of the GTM interface.If you see Container Not Published text, do the following thing: You can quickly identify if this applies to you by going to the Overview section of the GTM interface: If you have recently created a Google Tag Manager container and never published it, the Preview mode will not work. If you then try to open Chrome’s incognito mode (or another browser’s private mode), that will not work. When Preview and Debug mode is enabled, it opens a new tab/window with the website that you are going to debug. ![]() You can follow the method described in tip #2. So do not forget to double-check whether the container is right. The more Google Tag Manager accounts and containers you have, the bigger the chance you’ll eventually make this mistake. I have been there more than once, and it keeps getting more and more frustrating every time. #3. You Have Enabled GTM Preview and Debug Mode in the Wrong Container It must be added to the site exactly as you have copied it from the GTM interface. Tag Assistant will help you do that.Īlso, remember that you or your developers should not modify the GTM container snippet. Compare it with the one which is added to your website’s source code.Ĭompare it with the one which is added to your website’s source code. In order to verify, open your GTM account and check the upper right corner of the screen – see GTM container ID. Wrong or Incorrect Container Snippet Added to the WebsiteĪlthough this tip might sound silly, you should not ignore it. Click Ctrl + U (I guess it’s CMD +Option + U for Mac users?) in your browser and look for the GTM container code there. Google Analytics, Google Ads, Google Tag Manager) and provides real-time feedback.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |