|
| |
|
|
dpf
Posts: 7126 Joined: 11/12/2003 From: India-napolis Status: offline
|
measuring clicks - 11/12/2005 10:20:08
A client asked if there is a way to count the number of times a particular link ON her page is clicked? I didnt know the answer.
_____________________________
Dan
|
|
|
|
Kitka
Posts: 2520 Joined: 1/31/2002 From: Australia Status: offline
|
RE: measuring clicks - 11/12/2005 12:11:38
I use the free PHP script from here: http://www.phpjunkyard.com/php-click-counter.php It is really simple to set up and use.
_____________________________
Kitka **It is impossible to make anything foolproof because fools are so ingenious.**
|
|
|
|
Kitka
Posts: 2520 Joined: 1/31/2002 From: Australia Status: offline
|
RE: measuring clicks - 11/12/2005 17:48:40
Maybe I thoroughly misunderstood, but I thought Dan meant exit click tracking. When someone clicks on link that goes from a page in your site to someone else's site. None of the usual stats packages I have seen will do that.
_____________________________
Kitka **It is impossible to make anything foolproof because fools are so ingenious.**
|
|
|
|
dpf
Posts: 7126 Joined: 11/12/2003 From: India-napolis Status: offline
|
RE: measuring clicks - 11/12/2005 18:21:45
quote:
but I thought Dan meant exit click tracking. yes
_____________________________
Dan
|
|
|
|
bobt
Posts: 65 Joined: 9/5/2005 Status: offline
|
RE: measuring clicks - 11/13/2005 11:02:51
Dan, Why don't you send the link to a blank page called something like countclick.htm or whatever and then do a response.redirect on that blank page to the real destination of the link. You can then count the hits on the blank page via the stats package. Visitors won't even see the blank page. Bob
|
|
|
|
dpf
Posts: 7126 Joined: 11/12/2003 From: India-napolis Status: offline
|
RE: measuring clicks - 11/13/2005 11:05:36
excellent idea!
_____________________________
Dan
|
|
|
|
dpf
Posts: 7126 Joined: 11/12/2003 From: India-napolis Status: offline
|
RE: measuring clicks - 11/13/2005 17:20:24
yes
_____________________________
Dan
|
|
|
|
yogaboy
Posts: 377 Joined: 5/22/2004 Status: offline
|
RE: measuring clicks - 11/15/2005 17:20:35
You could add a querystring to the link with a code or name of the link, and on the "blank" page you could have a database connection that records the querystring and moves a counter field up by one. That way you only need one blank page.
|
|
|
|
Kitka
Posts: 2520 Joined: 1/31/2002 From: Australia Status: offline
|
RE: measuring clicks - 11/15/2005 17:51:35
quote:
you could even use ASP and the same method above to write the values to a .txt document instead of a database. That is pretty much how the PHP script I mentioned above works - and very neatly too. Why reinvent the wheel?
_____________________________
Kitka **It is impossible to make anything foolproof because fools are so ingenious.**
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|