java code 'snippet' question :-)

Discussion in 'Google AdWords' started by Andykuiper, Dec 28, 2005.

  1. #1
    I have a site that advertises software programs. I am not the author or owner of the software programs. I revieve payment if a customer buys a program via my site. I get paid by an affiliate payment program (RegNow or Clickbank). Right now, when a person clicks the 'buy' button of a product on my site they get sent automatically to a software download page on the software seller's site via RegNow or Clickbank. It's very seamless. The link will look like this:
    http://www.regnow.com/softsell/nph-softsell.cgi?item=12345-1&affiliate=12345
    I would like to track (via conversion tracking) who is clicking on a particualar buy button.

    What I think I need to do is to have a link on the buy button that takes the buyer to a page on my site with the AdWords conversion java code 'snippet' on it and then that page automatically will take them (redirect them) to the original link I had (http://www.regnow.com/softsell/nph-softsell.cgi?item=12345-1&affiliate=12345).
    But I don't know how to do this.

    Can you help?

    thanks
    Andy :)
     
    Andykuiper, Dec 28, 2005 IP
  2. Micromag

    Micromag Well-Known Member

    Messages:
    1,757
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    165
    #2
    this is the page code that you want

    
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
      <meta content="text/html; charset=ISO-8859-1"
     http-equiv="content-type">
      <meta http-equiv="REFRESH"
     content="0; URL=http://www.regnow.com/softsell/nph-softsell.cgi?item=12345-1&affiliate=12345">
      <title>Redirecting....</title>
    </head>
    <body>
    
    
    
    
    
    
    <p>In a moment, you will be redirected to the cart. Please 
      click <font size="-1"><a href="http://www.regnow.com/softsell/nph-softsell.cgi?item=12345-1&affiliate=12345">here</a></font> 
      if your browser does not automatically redirect you.
    <p>&nbsp;
    <p>&nbsp;
    <p>&nbsp;
    <p>&nbsp;
    <p>&nbsp;
    <p>&nbsp;
    <p>&nbsp;
    <p>&nbsp;
    <p>&nbsp;
    <p>&nbsp;
    <p>&nbsp;
    <p>&nbsp;
    <p>&nbsp;
    <p>&nbsp;
    <!--  VVVV    Adwords Conversion BEGIN   VVVV  -->
    
    
    
    
    
    
    <!--  ^^^^   Adwords Conversion END ^^^^  -->
    
    <p><br>
    </body>
    </html>
    
    HTML:
    1 - I already put the url destination, if you want to change it pay attention that you need to change it in 2 places.
    2 - You may change the page title if you want, just change the "Redirecting...." string
    3 - you need to place your conversion code, place it in blank space (between the BEGIN and END comment). You can put here the Google Analytics script as well if you use it.
    hope this helps
     
    Micromag, Dec 28, 2005 IP
  3. Andykuiper

    Andykuiper Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thank you for taking this on and helping :)
    I'll give it a try
    Andy :)
     
    Andykuiper, Dec 28, 2005 IP
  4. Andykuiper

    Andykuiper Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    thank you again for taking the time to help :)
    Andy
     
    Andykuiper, Dec 29, 2005 IP