counter

23 views
Skip to first unread message

ONeal Freeman

unread,
Jan 29, 2020, 12:08:55 PM1/29/20
to Trac Users
Is there a hit counter for trac to keep a count of how many users are accessing the site?

Leho Kraav

unread,
Jan 29, 2020, 1:21:23 PM1/29/20
to trac-...@googlegroups.com

On 29 January 2020 19:09:14 ONeal Freeman <ofree...@gmail.com> wrote:

Is there a hit counter for trac to keep a count of how many users are accessing the site?

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/0d167c6c-972d-4fdc-a746-f6b3a739093a%40googlegroups.com.
I'd probably go with Google Analytics or Matomo.

Dimitri Maziuk

unread,
Jan 29, 2020, 2:06:29 PM1/29/20
to trac-...@googlegroups.com
On 1/29/20 12:21 PM, Leho Kraav wrote:
> On 29 January 2020 19:09:14 ONeal Freeman <ofree...@gmail.com> wrote:
>> Is there a hit counter for trac to keep a count of how many users are
>> accessing the site?
...
> I'd probably go with Google Analytics or Matomo.
>

Ugh. https://goaccess.io/

--
Dimitri Maziuk
Programmer/sysadmin
BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu

signature.asc

Leho Kraav

unread,
Jan 29, 2020, 4:03:23 PM1/29/20
to 'Dimitri Maziuk' via Trac Users
On Wed, Jan 29, 2020 at 01:06:19PM -0600, 'Dimitri Maziuk' via Trac Users wrote:
> On 1/29/20 12:21 PM, Leho Kraav wrote:
> > On 29 January 2020 19:09:14 ONeal Freeman <ofree...@gmail.com> wrote:
> >> Is there a hit counter for trac to keep a count of how many users are
> >> accessing the site?
> ...
> > I'd probably go with Google Analytics or Matomo.
>
> Ugh. https://goaccess.io/

Wow, different thing but supernice.

Dimitri Maziuk

unread,
Jan 29, 2020, 5:18:55 PM1/29/20
to trac-...@googlegroups.com
On 1/29/20 3:02 PM, Leho Kraav wrote:

> Wow, different thing but supernice.
>

Well, aside from not needing cookies (which would require modifying trac
templates I expect), it's very lightweight. Using something like piwik
or elk on one small-ish trac site would be way overkill. Google too,
even though it's easier to set up.
signature.asc

ONeal Freeman

unread,
Feb 1, 2020, 11:17:46 AM2/1/20
to Trac Users
Unfortunately because of company restrictions, I cannot use a free counter where the count is store on a site or has any potential of accessing our network. So it will have to be totally internal. 

My IT department  has instituted a new helpdesk process that uses a second trac environment as a knowledge base. My end users should search the knowledge base before opening a ticket. I wanted to see if anyone is actually looking at the knowledge base site or skipping the steps and going straight to opening tickets.

dmaziuk

unread,
Feb 1, 2020, 2:00:19 PM2/1/20
to trac-...@googlegroups.com
On 2/1/2020 10:17 AM, ONeal Freeman wrote:
> Unfortunately because of company restrictions, I cannot use a free counter
> where the count is store on a site or has any potential of accessing our
> network. So it will have to be totally internal.

Goaccess, awstats, webalizer, will all read webserver logs -- all
internal on your web server. Although in you case why not simply grep
the logs for KB URLs.

Dima

Steffen Hoffmann

unread,
Feb 2, 2020, 2:50:07 PM2/2/20
to trac-...@googlegroups.com
Am 29. Januar 2020 18:08:54 MEZ schrieb ONeal Freeman <ofree...@gmail.com>:
Is there a hit counter for trac to keep a count of how many users are accessing the site?


Have a look at

https://trac-hacks.org/wiki/VisitCounterMacro

While it may be a bit outdated, I know it worked for me back in der 0.12 days. After all it has no external dependencies, what matters to the usecase in question.

Steffen Hoffmann

Mit freundlichem Gruß

Steffen Hoffmann
Reply all
Reply to author
Forward
0 new messages