click counter not counting

Post your Click counter digestion problems here
Post Reply
ddb

click counter not counting

Post by ddb »

I installed the files onto my web site, got into the Admin panel and added a few links that I'd like to track clicks against. One of them is the home page in the format http://www.domainname.com. Under link statistics it shows the web page URL, when it was added, the ID, etc. However, the number of clicks never increases under the statistics sections.

There is the section lower down on the Admon panel talking about Usage: "To track clicks on a link, use this URL instead of the link original URL" and then it shows an example of the URL with the id= tacked onto the end of the URL. I have no idea was this means. Is this the reason why my click counter is not increasing? Thanks for your help.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hello ddb,

To count clicks on a link it is not enough just to add it in the admin panel, you have to REPLACE the original link with the one generated by CCount!

EXAMPLE
You want to count clicks on link which goes to http://domain.com
You add this URL to your CCount, and the link is assigned ID "3".
Now you should use THIS URL instead of the original one:

http://www.yourdomain.com/path_to_ccount/click.php?id=3

If you click on this link CCount will count the click and then redirect the visitor to http://domain.com

Hope this makes sense.

Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
ddb

Post by ddb »

Klemen- Thank you very much for such a quick response. However, I guess I must be really thick because I'm still confused from the process.

When you say "you have to REPLACE the original link with the one generated by CCount" do you mean I have to rename my home page (as an example) with the generated name? You continue "Now you should use THIS URL instead of the original one". So when users want to go to my web pages that I want to count, I have to change the source HTML code and point it to the link that includes the ID= and then CCount will redirect the visitor to the original link? This seems like alot of work just to count clicks. I must be missing something still ;-(
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

You did understand it right. If you want to count clicks on a link to say www.domain.com you have to replace the www.domain.com URL with www.domain.com/ccount/click.php?id=(ID NUMBER)

Unfortunately that is the only way it can be done, every click counter works this way.

Regards,
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
PaulaJedi
Posts: 1
Joined: Mon Jul 04, 2005 1:31 pm

Post by PaulaJedi »

I made the same mistake. Your solution worked like a charm.
My server is case senstive, though. So, if it still doesn't work for you,
check your upper/lower case! :)

PaulaJedi
May the force be with you,

PaulaJedi
Post Reply