Search code examples
javascriptdebugginggoogle-analyticsgoogle-tag-managergoogle-analytics-api

How to disable the google analytics-debug js?


I want to disable the debug log for google analytics, Below is the screenshot for of my firbug . I have not added any js for this. I have only code of google tag manager. this script is loading dynamically while loading the page.

enter image description here


Solution

  • Have you set the "Use Debug Version" option to true in your tag configuration for your Google Analytics tag within Google Tag Manager? Doing so would cause GA to load the debug version and print the messages you are seeing in your console.

    While configuring your tag in Google Tag Manager, this is available under: "More Settings -> Advanced Configuration" (screenshot)