AdWords
4.1K members online now
4.1K members online now
Use AdWords conversion tracking and reporting to measure your results. Have a question about Google Analytics? Post it here, on the Google Analytics Community!
Guide Me
star_border
Reply

Help with google adwords conversion tracking code for volusion

[ Edited ]
Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi.  I need help with my google adwords conversion tracking code.  I want to modify the code to track transaction specific values.  This is the code adwords gives me, which I have to modify for transaction specific values:

 

<!-- Google Code for Priority Sales Conversion Page -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 970549156;
var google_conversion_language = "en";
var google_conversion_format = "3";
var google_conversion_color = "ffffff";
var google_conversion_label = "0IeqCNPMvFkQpM_lzgM";
var google_conversion_value = 1.00;
var google_conversion_currency = "USD";
var google_remarketing_only = false;
/* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/970549156/?value=1.00&amp;currency_code=USD&amp;label=0Ie...
</div>
</noscript>

 

I have read the help page on how to do this here:

https://support.google.com/adwords/answer/6095947#website

I also know that I need to modify it for an ASP page.

 

Whenever I follow instructions and delete the crossed out lines of code and replace them with the new highlighted section, the tracking code does NOT work.  Do I need to modify the yellow lines of code, or just paste them in as is?  The thank you page of my site that users see after a conversion, is:

http://www.priorityhealthsupplies.com/Articles.asp?ID=130

Any help would be greatly appreciated.  Thanks

1 Expert replyverified_user

Re: Help with google adwords conversion tracking code for volusion

Participant ✭ ✭ ☆
# 2
Participant ✭ ✭ ☆

Hi.
You should change &amp; to &

Rest of code looks fine.

https://support.google.com/tagassistant/answer/2947038#url_encoding

Re: Help with google adwords conversion tracking code for volusion

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Ok. So if I want to modify this code to track transaction specific values (following instructions provided by google), on an ASP thank you page, it should look like this?

<!-- Google Code for Priority Sales Conversion Page -->
&lt;script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 970549156;
var google_conversion_language = "en";
var google_conversion_format = "3";
var google_conversion_color = "ffffff";
var google_conversion_label = "0IeqCNPMvFkQpM_lzgM";
if (<%= totalValue %>) {
var google_conversion_value = <%= totalValue %>;
var google_conversion_currency = <%= currency %>;
}
var google_conversion_currency = "USD";
var google_remarketing_only = false;
/* ]]> */
&lt;/script&gt;
&lt;script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
&lt;/script&gt;
<noscript&gt;
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/970549156/?value=<%=totalValue %>&conversion_currency=<%=currency %>&;label=0IeqCNPMvFkQpM_lzgM&;guid=ON&;script=0"/>
</div>
</noscript&gt;

Re: Help with google adwords conversion tracking code for volusion

Visitor ✭ ✭ ✭
# 4
Visitor ✭ ✭ ✭
anyone have any idea if this code is correct?

Re: Help with google adwords conversion tracking code for volusion

Top Contributor
# 5
Top Contributor

Hi There, 

 

Your code has wrong characters. Let me guide you how to ensure you have the correct code and implementation. 

 

Copy your conversion code from AdWords interface i.e. Tools > Conversions > Your Conversion Name > Your Tag. Next, paste it into Notepad. 

 

Find the section - 

 

var google_conversion_value = 1.00;
var google_conversion_currency = "USD";

 

Replace conversion value 1.00 with the parameter that echos Total Price of products. It varies based on the CMS your are using. If you are using Volusion, ask them for the code that echo total price without the current code/symbol. 

 

Do the same for Conversion_Currency. If not, you know you currency, simply put its code i.e. USD.

 

Next go to the bottom of the conversion code to find the following line -

 

<img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/946331820/?value=1.00&amp;currency_code=USD&amp;label=VQWECITPuQgQrMGfwwM&amp;guid=ON&amp;script=0"/>

 

The replace highlighted texts above with the your CMS code that echo total above. It's the same as guided in the first step. 

 

You are done. Do to play with anything else. Go to your Thank You page, the page which loads after the conversion and paste the entire code before the closing </ body> tag. 

 

Next, to ensure complete peace of mind, install Tag Assistant Extension for Google Chrome. Go to your thank you page and check your implementation with the extension. 

 

Cheers! You are done. Grab a cup of coffee! You deserve this now. Smiley Happy

 

All the best!

 

Thanks
Ratan Jha