My company has asked me to add a link to another site and count the number of times the link is hit. I currently have counters on all of our pages however I don't know how to count the number of hits that a external site is getting.
This will give you the information you need to see where the user was referred from. Also, the counter can't be seen so no one knows you are counting their traffic.
Put any counter you want on a redirect page.
For example, the link you have, instead of going directly to the other page, goes to a hidden redirect page. This page only has a bit of code on it, and your counter, the viewer never sees anything. When they hit the link, it increments the counter, then goes directly to the page you want.
If you want an example of the code for a redirect, let us know. Cheers,
Jim
reboot@pcmech.com
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.