• Resolved Zougou

    (@zougou)


    Hi,

    Some months ago, I have setup Complianz to add Google Analytics tracking code.
    Today I need to add Google Ads conversion tracking code.
    So I have followed your instructions (topic : https://ww.wp.xz.cn/support/topic/google-ads-conversion-tracking-code/#post-15470268)

    I did a scan and a synchonisation.
    New cookies from Google Ads are well detected.

    If I check source code, I see 2 global site tag :
    – one for Google Analytics
    – one for Google Ads

    <script type="text/plain" data-service="google-analytics" async data-category="statistics" src="https://www.googletagmanager.com/gtag/js?id=GA_TRACKING_ID"></script>
    <script type="text/plain" data-category="statistics">
    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',
    	
    });
    </script>
    <script type="text/plain" data-category="marketing">
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag('js', new Date());
    gtag('config', 'AW-CONVERSION_ID', {
    	cookie_flags:'secure;samesite=none'
    });
    </script>

    I’m just wondering if it is okay to have these 2 global site tags ?
    Thanks for your help

Viewing 16 replies (of 16 total)
  • Thread Starter Zougou

    (@zougou)

    Hi Jarnovos,

    Thanks a lot for your clarifications 🙂
    I may have misspoken when I said that _ga_* cookie was “still active” after visiting other pages.
    I should have said that after revoking consent and visiting other pages, the _ga_* cookie was still “listed” in the Application tab of Chrome Developper Tools.
    Anyway, if the website is GDPR compliant, that’s all that matters 🙂

    Thanks again for your great support…as always !

Viewing 16 replies (of 16 total)

The topic ‘Google Ads conversion tracking added’ is closed to new replies.