Google Ads conversion tracking code
-
Hi,
Some months ago, I have setup Complianz to add Google Analytics tracking code.
Here’s the global site tag code generated by Complianz :<script type="text/plain" async class="cmplz-script cmplz-stats" src="https://www.googletagmanager.com/gtag/js?id=GA_TRACKING_ID"></script> <script type="text/plain" class="cmplz-stats"> window['gtag_enable_tcf_support'] = false; window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'GA_TRACKING_ID', { cookie_flags:'secure;samesite=none', 'anonymizeIp': true }); </script>
Now, I need to add Google Ads conversion tracking code on specific pages.
As far as I understand, I only need to add ‘gtag( ‘config’, ‘AW-CONVERSION_ID’);’ right above the </script> end tag on my specific pages.I’m not sure how to handle this with Complianz.
In complianz->cookies->statistics configuration : Should I select “No” for “Would you like Complianz to add Google Analytics to your website ?”
And add manually code for both Google Analytics and Google Ads directly in header.php ?Can you advise me please ?
Thanks in advance for your help
- The topic ‘Google Ads conversion tracking code’ is closed to new replies.