Welcome to WebmasterWorld Guest from

Forum Moderators: DixonJones & mademetop

Message Too Old, No Replies

Track link without redirection



8:03 pm on Sep 21, 2004 (gmt 0)

10+ Year Member

Is there anyway we can track each link without using redirection? eg:

<a href="track_link_script.php?http://test.com">

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)

WebmasterWorld Senior Member 10+ Year Member

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)

10+ Year Member

Hi Robino,

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)

10+ Year Member

<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)

10+ Year Member

Awesome, it works. Thanks man.

Here's the code:
<a href="/myfile.pdf" onClick="parent.location='script.php?file=myfile.pdf'">


Featured Threads

Hot Threads This Week

Hot Threads This Month