| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Track link without redirection|
| 8:03 pm on Sep 21, 2004 (gmt 0)|
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.
| 8:32 pm on Sep 21, 2004 (gmt 0)|
If I understand you correctly, you could just use a tracking URL.
Append something like, '?source=webmasterworld' to the link.
| 4:14 pm on Sep 22, 2004 (gmt 0)|
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?
| 4:25 pm on Sep 22, 2004 (gmt 0)|
<a href="/myfile.pdf" onClick="script.php?file=myfile.pdf">
try that. not sure it will work but it may.
| 5:01 pm on Sep 22, 2004 (gmt 0)|
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