How to add Google Ads Conversion Tracking
-
Since I could not find adequate documentation, and another person in the support forums never got their question answered, I thought I’d share how to add Google Ads Conversion Tracking tags to your existing Google Tracking configuration.
This presumes you already have installed the Google Analytics plugin, and have already set up your GA Tracking ID, and have already procured your Google Ads Conversion Tracking code snippet.
In the plugin’s settings, simply place your Adwords tracking snippet into the “Custom GA Code” area. NOT the “Custom Tracker Objects” area. NOT the “Custom Code” area.
The Adwords code snippet should be as follows, where #s are your account’s unique ID:
gtag(‘config’, ‘AW-#########’);To verify… open a browser in which you are not logged into WordPress, navigate to your website, right-click, and view page source. Look for the Google Analytics script. The Ad Conversion tracking tag should be on its own line in the GA tracking code as follows:
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-#########');
gtag('config', 'G-##########');
</script>
The topic ‘How to add Google Ads Conversion Tracking’ is closed to new replies.