AdWords Conversion Tracking

For Articles relating to more than one ISC version
Post Reply
babyREFLUX
Posts: 337
Joined: Thu Jun 18, 2009 9:38 am

AdWords Conversion Tracking

Post by babyREFLUX »

Duplicate post from - http://www.interspire.com/forum/showthread.php?p=54533

Accidentally removed a line of code a little while back and need some guidance of how I put it back in.

Please see Adwords Conversion Tracking Setup Guide and select (4) Different scenarios for inserting the code snippet.

It is the variable conversion value I'm after so that the keywords come through with an appropriate revenue value.

I'm assuming it is something like this

Code:

Code: Select all

if (<%= totalValue %>) {
  var google_conversion_value = <%= totalValue %>;
  }
with

"%%ORDER_AMOUNT%%" in there somewhere?

First correct answer get a prize - they become my best friend for the day.
Martin
Site Admin
Site Admin
Posts: 1854
Joined: Wed Jun 17, 2009 6:30 pm
Location: South Yorkshire UK
Contact:

Re: AdWords Conversion Tracking

Post by Martin »

I'll pass on the prize ;) and demand lifelong obedience or you don't get future support... :p

I suspect you're looking at this:

Code: Select all

if (%%ORDER_AMOUNT%%) {
var google_conversion_value = %%ORDER_AMOUNT%%
}
If I'm right, the entire code block should look like this:

Code: Select all

<!-- Google Code for Purchase Conversion Page -->
<script language="JavaScript" type="text/javascript">
<!--
var google_conversion_id = 1234567890;
var google_conversion_language = "en_US";
var google_conversion_format = "1";
var google_conversion_color = "666666";
var google_conversion_label = "Purchase";
//-->
if (%%ORDER_AMOUNT%%) {
var google_conversion_value = %%ORDER_AMOUNT%%;
}
</script>
<script language="JavaScript"
src="http://www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<img height=1 width=1 border=0
src="http://www.googleadservices.com/pagead/conversion/1234567890/?value=%%ORDER_AMOUNT%%&label=Purchase&script=0">
</noscript>
</body>
How you split that up in the whole templating system is something I'll leave up to you.. :)
Martin
Site Admin
Site Admin
Posts: 1854
Joined: Wed Jun 17, 2009 6:30 pm
Location: South Yorkshire UK
Contact:

Re: AdWords Conversion Tracking

Post by Martin »

Oi! I believe at the very least a "thank-you" was in order...

... or do you like troubleshooting your problems on your own? Hmm? :evil:
BrasilDoc
Posts: 1
Joined: Fri Nov 20, 2009 5:43 pm

Re: AdWords Conversion Tracking

Post by BrasilDoc »

Should this code simply be pasted in the Settings--> Affiliate settings box, or somewhere else?

Also does anyone know if MS adcenter tracks value as well or just conversions?

Thank you
Post Reply