Problem with GA Google Analytics Pro
-
Problem: Google Analytics Pro: Heads up! We’ve detected that another plugin is sending duplicated events to Google Analytics, which can result in duplicated tracking data. Please disable any other plugins tracking events in Google Analytics while using Google Analytics Pro.
There are 3 code snippets below don’t know which one i have to delete and how can i remove it?
// code 1
<script>(function(html){html.className = html.className.replace(/\bno-js\b/,’js’)})(document.documentElement);</script>
<script type=”text/javascript”>window[‘ga-disable-UA-XXXXXXX-1’] = true;</script>
// code 2
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({‘gtm.start’:
new Date().getTime(),event:’gtm.js’});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!=’dataLayer’?’&l=’+l:”;j.async=true;j.src=
‘https://www.googletagmanager.com/gtm.js?id=’+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,’script’,’dataLayer’,’GTM-xxxxx’);</script>
// code 3
<script id=”google_gtagjs” src=”https://www.googletagmanager.com/gtag/js?id=UA-XXXXXX-1″ async=”async” type=”text/javascript”></script>
<script id=”google_gtagjs-inline” type=”text/javascript”>
window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}gtag(‘js’, new Date());gtag(‘config’, ‘UA-XXXXXX-1’, {‘client_storage’: ‘none’, ‘client_id’: window.clientIDHashed, ‘anonymize_ip’: true} );
</script>The page I need help with: [log in to see the link]
- The topic ‘Problem with GA Google Analytics Pro’ is closed to new replies.