Capturing Referring URL to drive content

Joined
Aug 17, 2011
Messages
1
Reaction score
0
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?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,733
Messages
2,569,440
Members
44,829
Latest member
PIXThurman

Latest Threads

Top