Forum Moderators: open

Message Too Old, No Replies

Tracking sales

         

joe78uk

3:45 pm on Apr 22, 2005 (gmt 0)

10+ Year Member



Applogies if this isn't the right section, I'm not sure what it is covered by.

With Google Adwords, when they give you the tracking code to put on the 'Sale confirmed' page so you can see what ads produce sales, the tracking code is :

<!-- Google Code for Purchase Conversion Page -->
<script language="JavaScript" type="text/javascript">
<!--
var google_conversion_id = 0;
var google_conversion_language = "en_GB";
var google_conversion_format = "1";
var google_conversion_color = "FFFFFF";
if ([VALUE]) {
var google_conversion_value = [VALUE];
}
var google_conversion_label = "Purchase";
//-->
</script>
<script language="JavaScript" src="https://www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<img height=1 width=1 border=0 src="https://www.googleadservices.com/pagead/conversion/0/?value=[VALUE]&label=Purchase&script=0">
</noscript>

The Javascript this calls basically tries to produce an iframe and if iframes are not enabled it produces an image, and if javascript is disabled in the firstplace it shows the same image. So my question is why bother with the javascript, why not just try the iframe without the javascript, but more than that why not just track with an image?

Milamber

3:48 pm on Apr 22, 2005 (gmt 0)

10+ Year Member



You might want to post this in the Google Adwords forum: [webmasterworld.com...]

joe78uk

4:06 pm on Apr 22, 2005 (gmt 0)

10+ Year Member



Thanks, I've already posted it in another section, so I don't want to aggravate people, it's more the method used rather than the specifics for Google.

Why track events with javascript, why not just us images in the first place to track images? That's what my question boils down to I suppose.