javascript help required

Discussion in 'JavaScript' started by Crazymady, Sep 4, 2008.

  1. #1
    Hi,

    I run a simple affiliate website with normal html pages and I do have have links to other websites on it.

    I do run a PPC program for my website, is it possible for me to amend the url as to know from where i got got the sale by using simple javascript

    Eg: website www.xyz.com and link url on it is www.abc.com
    if traffic come to xyz.com from google link urls on landing page should change to www.abc.com?google

    Need help for the same
     
    Crazymady, Sep 4, 2008 IP
  2. mallorcahp

    mallorcahp Peon

    Messages:
    141
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It could be possible, depends what you are using to track affiliates and sales and if you could integrate it.

    You could use Google Analytics and "Goal Setting" within it... this will give you loads more than info as well as the source of the sales that you are after ... this might be the quicker / easier solution although it wouldn't be an integrated one.
     
    mallorcahp, Sep 4, 2008 IP
  3. Daemn

    Daemn Peon

    Messages:
    27
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Parse the domain from the referrer and echo it into the layout, or into a js section and have js change the links onLoad.
     
    Daemn, Sep 4, 2008 IP