| Welcome to WebmasterWorld Guest from 220.127.116.11 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Track link without redirection|
Is there anyway we can track each link without using redirection? eg:
I know clicktrack could do this by only putting tagging script on each page. Anybody knows how to do this? Thanks in advance.
If I understand you correctly, you could just use a tracking URL.
Append something like, '?source=webmasterworld' to the link.
For example, I have a link that will open a pdf file. Is there anyway I can track this, once user click on the link without using redirection?
<a href="/myfile.pdf" onClick="script.php?file=myfile.pdf">
try that. not sure it will work but it may.
Awesome, it works. Thanks man.
Here's the code:
<a href="/myfile.pdf" onClick="parent.location='script.php?file=myfile.pdf'">
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved