Capturing Referring URL to drive content

Discussion in '.NET' started by slamar, Aug 17, 2011.

  1. slamar

    slamar

    Joined:
    Aug 17, 2011
    Messages:
    1
    I have a client that wants to show a unique phone number on their website when the source of the traffic comes from a specific website (ie: google.com, bing.com or yahoo.com).

    Is there a way to do this with javascript? I basically need to figure out a way to identify the referring website of a visitor. If so, can someone write out the code for me, please?
    slamar, Aug 17, 2011
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jon
    Replies:
    5
    Views:
    11,158
    Scott M.
    Jan 17, 2010
  2. mh
    Replies:
    4
    Views:
    700
    Wolfgang Strobl
    May 31, 2005
  3. Tom Anderson
    Replies:
    8
    Views:
    393
    Gerrit Holl
    Sep 15, 2005
  4. Mike Joyce
    Replies:
    3
    Views:
    3,136
    Gordon Rainsford
    May 3, 2006
  5. shailesh
    Replies:
    1
    Views:
    780
    Tim Golden
    Mar 28, 2007
Loading...

Share This Page