Title: Google Ads conversion tracking code
Last modified: March 17, 2022

---

# Google Ads conversion tracking code

 *  Resolved [Zougou](https://wordpress.org/support/users/zougou/)
 * (@zougou)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/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

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Contributor [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * (@jarnovos)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/google-ads-conversion-tracking-code/#post-15468867)
 * Hi [@zougou](https://wordpress.org/support/users/zougou/),
 * You have a few options to do this, probably the easiest would be to let Complianz
   place both the Analytics and Google Ads tags.
 * If you navigate to Complianz > Wizard > Statistics and select “Yes, with Google
   Analytics”, on the next page (Statistics – configuration), you will be able to
   enter your Analytics ID and Google Ads ID separately:
 * ![](https://i0.wp.com/i.snipboard.io/H7TlPj.jpg?ssl=1)
 * But you could also place the Gtag.js snippet manually, and adjust it to fire 
   your tags on the desired consent levels. This method is explained in greater 
   detail here: [https://complianz.io/adding-global-site-tag-gtag-js-with-granular-consent/](https://complianz.io/adding-global-site-tag-gtag-js-with-granular-consent/)
 * Hope it helps,
    Kind regards. Jarno
 *  Thread Starter [Zougou](https://wordpress.org/support/users/zougou/)
 * (@zougou)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/google-ads-conversion-tracking-code/#post-15468911)
 * Thanks Jarnovos for your quick answer 🙂
 * On Statictics configuration page, I’m able to see TRACKING-ID for Google Analytics,
   but I do not have CONVERSION ID field.
    I’m using Complianz 5.5.1. Maybe this
   is a new feature, and I should update plugin ? I looked at changelog but I didn’t
   find anything about that
 *  Plugin Contributor [Jarno Vos](https://wordpress.org/support/users/jarnovos/)
 * (@jarnovos)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/google-ads-conversion-tracking-code/#post-15468921)
 * Hi [@zougou](https://wordpress.org/support/users/zougou/),
 * Yes, you would indeed have to update your plugin to a more recent version.
 * Hope this clarifies!
    Kind regards, Jarno
 *  Thread Starter [Zougou](https://wordpress.org/support/users/zougou/)
 * (@zougou)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/google-ads-conversion-tracking-code/#post-15468983)
 * Ohh ok thanks ! that’s why I couldn’t see this option 🙂
    I’ll update plugin 
   then.
 * Can you tell me if this is really important to add conversion ID tracking code
   only on specific pages, and not all pages ?
    I suppose that I won’t be able to
   specify pages where to include code with Complianz
 *  Plugin Author [Aert](https://wordpress.org/support/users/aahulsebos/)
 * (@aahulsebos)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/google-ads-conversion-tracking-code/#post-15469271)
 * Hi [@zougou](https://wordpress.org/support/users/zougou/),
 * Correct, this won’t specifically target pages. If you want to do this you can,
   but outside of Complianz and between these script tags for consent:
 * `<script type="text/plain" data-category="marketing" </script>`
 * regards Aert
    -  This reply was modified 4 years, 2 months ago by [Aert](https://wordpress.org/support/users/aahulsebos/).
 *  Thread Starter [Zougou](https://wordpress.org/support/users/zougou/)
 * (@zougou)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/google-ads-conversion-tracking-code/#post-15470268)
 * Ok, Thanks Aert 🙂
    Have a nice day

Viewing 6 replies - 1 through 6 (of 6 total)

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

 * ![](https://ps.w.org/complianz-gdpr/assets/icon-256x256.png?rev=2881064)
 * [Complianz - GDPR/CCPA Cookie Consent](https://wordpress.org/plugins/complianz-gdpr/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/complianz-gdpr/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/complianz-gdpr/)
 * [Active Topics](https://wordpress.org/support/plugin/complianz-gdpr/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/complianz-gdpr/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/complianz-gdpr/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Zougou](https://wordpress.org/support/users/zougou/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/google-ads-conversion-tracking-code/#post-15470268)
 * Status: resolved