Page 1 of 1

AdWords Conversion Tracking

Posted: Sat Jul 11, 2009 11:49 am
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.

Re: AdWords Conversion Tracking

Posted: Sat Jul 11, 2009 2:07 pm
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.. :)

Re: AdWords Conversion Tracking

Posted: Wed Jul 15, 2009 11:19 pm
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:

Re: AdWords Conversion Tracking

Posted: Fri Nov 20, 2009 5:50 pm
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