Non-standard implementation Issue (code included)
-
Hello guys
so I have a massive difference in revenue between backend and analytics, some day its 50 % less than the backend value.
– I checked it with Google Tag Assistant, where I receive a non-standard implementation issue (this is normal for the plugin i guess)
– The external payment gateways are all redirected to woocommerce.
– Is there a known issue with the autooptimize plugin?
– I have the following code on all the payment methods (3-4) on the /order-received/xyz uri.
<!-- WooCommerce Google Analytics Integration --> <script type='text/javascript'> var gaProperty = 'UA-XYZZZZZ'; var disableStr = 'ga-disable-' + gaProperty; if ( document.cookie.indexOf( disableStr + '=true' ) > -1 ) { window[disableStr] = true; } function gaOptout() { document.cookie = disableStr + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/'; window[disableStr] = true; } </script><script async src="https://www.googletagmanager.com/gtag/js?id=UA-UA-XYZZZZZ"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('set', 'developer_id.dOGY3NW', true); gtag('config', 'UA-XYZZZZZ', { 'allow_google_signals': false, 'link_attribution': true, 'anonymize_ip': true, 'custom_map': { 'dimension1': 'logged_in' }, 'logged_in': 'no' } ); </script> <!-- /WooCommerce Google Analytics Integration --></head>
Thank you.
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Non-standard implementation Issue (code included)’ is closed to new replies.