Welcome to WebmasterWorld Guest from

Forum Moderators: DixonJones & mademetop

Message Too Old, No Replies

Counting outgoing clicks



11:43 am on Nov 25, 2004 (gmt 0)

10+ Year Member

I'd like to count clicks outgoing links.

Is this a search engine friendly way in PHP?

$sql="insert into track (date, link) values(now(),'http://foo.bar');


3:04 am on Nov 29, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

I don't know PHP but I'll assume your code is functional, looks like it would be.

If by "search engine friendly" you mean "Will the spiders follow the link?", then it depends on what your link looks like, but if it's something like <A href="clicks.php?adnumber=5>The Ad Text</A> then yes, the spiders will follow it.

If by "search engine friendly" you mean that you want the link to pass PR to the destination, then no, it won't. I don't know a way to track outbound clicks from your site and still have a clean, direct link to the destination. Maybe there's such a thing and I just don't know about it, though.


Featured Threads

Hot Threads This Week

Hot Threads This Month