Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 08:07 am EST

Geeklog Forums

Are site statistics available in variables somewhere?


Status: offline

JoelF

Forum User
Chatty
Registered: 07/18/04
Posts: 39
I'm looking to put a hit-counter on the home page, and figured I might as well use the integrated stats engine - but haven't seen where I might pick up these values. Are these values accessible somewhere other than the stats page itself?

Thanks,

Joel
 Quote

Status: offline

samstone

Forum User
Full Member
Registered: 09/29/02
Posts: 820
I have a hit counter on one of my sites, using the method I found either on this forum or Squatty.com

I am in a rush, so I can't search it for you. But, just to let you know that what you are asking is possible and someone has done it.

Sam
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The total number of hits is available from the gl_vars table, where name = 'totalhits'.

bye, Dirk
 Quote

Status: offline

JohnVanVliet

Forum User
Full Member
Registered: 10/09/03
Posts: 161
you could install AWStats or analog or both
i have both installed and working fine
 Quote

Status: offline

JoelF

Forum User
Chatty
Registered: 07/18/04
Posts: 39
Quote by JohnVanVliet: you could install AWStats or analog or both
i have both installed and working fine


Thanks. I've poked around with awstats, and it's past what I'm after for this task. What is analog, and where would I find it?

I guess my initial shot was to use the GL internal counter, not because it provides lots of info, but because it would be server-independent. I'd like to just have a simple hit counter on the home page - and using the internals means I don't have to adapt it for different hosting providers and servers. The point of that hit counter is not necessarily to be 'accurate', but frankly to drive usage. Big, constantly growing number drives interest and gets people to participate more. (Ok, this is a marketing view, but hey - without participation and community isn't a community!)

Thanks,

Joel
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by JoelF: What is analog, and where would I find it?

www.analog.cx It's another logfile analyser.

bye, Dirk
 Quote

Status: offline

JoelF

Forum User
Chatty
Registered: 07/18/04
Posts: 39
Quote by Dirk:
Quote by JoelF: What is analog, and where would I find it?

www.analog.cx It's another logfile analyser.

bye, Dirk


Just checked that out. Neat tool, and 'surprisingly fast'.

Thanks,

Joel
 Quote

All times are EST. The time is now 08:07 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content