homepage Welcome to WebmasterWorld Guest from 54.205.207.53
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
Forum Library, Charter, Moderators: Receptional & mademetop

Website Analytics - Tracking and Logging Forum

    
Track link without redirection
asyarief

10+ Year Member



 
Msg#: 2682 posted 8:03 pm on Sep 21, 2004 (gmt 0)

Hi,
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.

 

Robino

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 2682 posted 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.

asyarief

10+ Year Member



 
Msg#: 2682 posted 4:14 pm on Sep 22, 2004 (gmt 0)

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?

Thanks,

nuclei

10+ Year Member



 
Msg#: 2682 posted 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.

asyarief

10+ Year Member



 
Msg#: 2682 posted 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'">

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved