Gcount version 1.2 and Netfirms No Unique counts

All other scripts belong here
Post Reply
Jazzman
Posts: 3
Joined: Wed Nov 30, 2011 12:24 am

Gcount version 1.2 and Netfirms No Unique counts

Post by Jazzman »

I am using Netfirms as my hosting company, and they have listed in their install scripts Gcount.

I installed it and followed all the instrucions and it works well and increments for every page refresh, Except.

If I change the

$count_unique = 0;
and change it to:
$count_unique = 1;

to be able to track Unique clicks it never increments the number. It just stays at zero. I double checked by using another pc and still stays at zero.

Am I missing something. The instructions merely said to replace the zero with a 1 like above.



Thanks for the help.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Gcount version 1.2 and Netfirms No Unique counts

Post by Klemen »

Does it help if you clean your cookies?

If not please post the link to your script so we can test it.
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
Jazzman
Posts: 3
Joined: Wed Nov 30, 2011 12:24 am

Re: Gcount version 1.2 and Netfirms No Unique counts

Post by Jazzman »

Hello and thanks for helping.

You are right I cleared my cookies and refreshed and the counter went up by 1. I then used a proxy and tried loading the page and it did not increment. I then cleared cookies again and it incremented.

Is this correct?

Thanks again
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Gcount version 1.2 and Netfirms No Unique counts

Post by Klemen »

It uses cookies to count unique visits so yes, you should only be counted once unless you clean cookies (or wait the number of hours set in $unique_hours, default 24).
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
Jazzman
Posts: 3
Joined: Wed Nov 30, 2011 12:24 am

Re: Gcount version 1.2 and Netfirms No Unique counts

Post by Jazzman »

Thank you Klemen for your help, and the explanation.

:)
Post Reply