AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

4.1K members online now
4.1K members online now
Get started with Google Ads - learn the basics to get set up for success
Guide Me

Conversion tracking on a site

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I'm in the process of setting up a site (it will be on the Business plan) and want to know if it's possible to set up conversion tracking so I can enable Enhanced CPC in AdWords. I'm assuming this is possible but want to check before paying for WP.


Any help will be great - thanks!

1 Expert replyverified_user

Conversion tracking on a site

Explorer ✭ ☆ ☆
# 2
Explorer ✭ ☆ ☆

Hey James,


Within Wordpress you can manually place the code on page that counts as a conversion.

You would create a conversion and for the source you would choose "Website". Once you name the conversion and choose the value you can save and it will show you a code that looks like the following -


<!-- Google Code for Test Conversion Page -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 927118650;
var google_conversion_language = "en";
var google_conversion_format = "3";
var google_conversion_color = "ffffff";
var google_conversion_label = "vUDvCNr****QuuqKugM";
var google_remarketing_only = false;
/* ]]> */
<script type="text/javascript" src="//">
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//;guid=ON&amp;scri...>


Once you have this code, you can add it between the <body></body> tags on the page.

I would recommend using Google Tag assistant to make sure that you have installed the code properly as well.

Also refer to this google help page if you are having trouble!


Conversion tracking on a site

Top Contributor
# 3
Top Contributor

Hi James R,


It depends a little on what the conversion action is. If it is a purchase, that will depend on which shopping cart you use. In any case, you can track conversions on a WP site. How you track those conversions depends on how those pages are setup. If you serve a separate thank you page, just place the conversion code on that page. I would create a "code" widget, then add that widget to your page. If your thank you page is a callback or AJAX, you'll need to do something else. But it is all "doable".


Best of Luck!




petebardo -- Deadhead doing AdWords