onclick and filegetcontents... is it possible?
I am trying to track click-through ratios for the advertisers on my site. The idea is that when a visitor clicks a link (HTML <a tag), an onclick event will fire off a call to another process and increment a counter before opening the link.
<a href=http://www.anyurl.com/ target="_blank" onclick="filegetcontents('http://www.specificurl.com/filename.php');">Anchor Text</a>
In this way I can count the number of times somebody clicked on a specific link.
To my understanding, this should first call 'specificurl', and then open 'anyurl' in the browser. But I can't seem to get it to work. Can anybody see an obvious syntax error?
Is this even possible?
Is there a better way to accomplish this? I have to do it in an SEO friendly way, followable by search engines.
To complicate matters, this link may not live on my URL so I cannot depend on any include statements etc.
Thank You in advance for your help!
Available for Fixed Fee Projects and Hourly ($40/hr)
www.monopolinks.com
Free One-Way Link Exchange
www.monopolinks.com
Free One-Way Link Exchange
www.monopolinks.com
Free One-Way Link Exchange
www.monopolinks.com
Free One-Way Link Exchange
www.monopolinks.com
Free One-Way Link Exchange
www.monopolinks.com
Free One-Way Link Exchange
www.monopolinks.com
Free One-Way Link Exchange
www.monopolinks.com
Free One-Way Link Exchange
www.monopolinks.com
Free One-Way Link Exchange