Results 1 to 3 of 3

Thread: Sales tracking with JS

  1. #1
    Junior Registered
    Join Date
    Mar 2005
    Posts
    5

    Question Sales tracking with JS

    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 :
    Code:
    <!-- 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?

  2. #2
    Administrator Chris's Avatar
    Join Date
    Feb 2003
    Location
    East Lansing, MI USA
    Posts
    7,055
    Javascript is the best option I believe, so they try to use it the most.
    Chris Beasley - My Guide to Building a Successful Website[size=1]
    Content Sites: ABCDFGHIJKLMNOP|Forums: ABCD EF|Ecommerce: Swords Knives

  3. #3
    Junior Registered
    Join Date
    Mar 2005
    Posts
    5

    Unhappy

    But what's to be gained over just calling an image with the value of the sale instead?

    e.g.
    <img src="track.gif?value=12.99">

    That's what I cant understand.

Similar Threads

  1. Sales Tax REfunds from ev1
    By pas in forum Web Hosting & Servers
    Replies: 2
    Last Post: 10-16-2004, 09:59 AM
  2. Tracking and Banners Newbie Q's
    By traderx in forum General Management Issues
    Replies: 5
    Last Post: 06-23-2004, 10:58 AM
  3. need helps/advise to make some sales - gemstone jewelry sites
    By vorapolpanya in forum Advertising & Affiliate Programs
    Replies: 3
    Last Post: 03-30-2004, 12:44 AM
  4. Tracking Link Clicks (such as Websitepublisher)
    By iKwak in forum General Management Issues
    Replies: 3
    Last Post: 02-13-2004, 10:16 PM
  5. Online retail sales surge 28%
    By Chris in forum Internet Industry News
    Replies: 1
    Last Post: 08-24-2003, 11:24 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •