Tracking onclick windows.open on a blog

K

kato

Hi,

Sorry, it's yet another newbie question :)

Context : I have a photoblog hosted by an ISP that do not provide
statistics. So, I have written a couple javascript(in my hosted
pages)/cgi(on another server) and I can get records of access to my
pages.

But I wish to know on which photo the visitor clicks to zoom.

If I replace this code :

.... onclick="window.open(this.href, '_blank', ...'); return false">

by :

.... onclick="window.open(this.href, '_blank', ...');
myFunction('Photo000111'); return false">

what is the code I have to put in "myFunction()", in order to get a
record of the click _without_ disturbing the page and the visitor ?

Thanks for your help,

kato
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top