Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

A Linux machine! because a 486 is a terrible thing to waste! (By jjs@wintermute.ucr.edu, Joe Sloan)


devel / comp.sys.acorn.misc / Statcounter.com

SubjectAuthor
* Statcounter.comHarriet Bazley
`- Re: Statcounter.comTim Hill

1
Statcounter.com

<93e58a7259.harriet@bazleyfamily.co.uk>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1899&group=comp.sys.acorn.misc#1899

  copy link   Newsgroups: comp.sys.acorn.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: harriet@bazleyfamily.co.uk (Harriet Bazley)
Newsgroups: comp.sys.acorn.misc
Subject: Statcounter.com
Date: Mon, 27 Sep 2021 14:25:47 +0100
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <93e58a7259.harriet@bazleyfamily.co.uk>
Injection-Info: reader02.eternal-september.org; posting-host="4f3bc463b992dfc28e39f7ae1673a942";
logging-data="5841"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18yWJS/KCovqpeBgij5A8yZ/xsAzl+9BB0="
User-Agent: Messenger-Pro/8.04 (MsgServe/8.04) (RISC-OS/5.27) NewsHound/v1.53-32 RC1
Cancel-Lock: sha1:IzJUlHemEF1XVM0GyLeBDpGZOZk=
X-Clacks-Overhead: GNU Terry Pratchett
 by: Harriet Bazley - Mon, 27 Sep 2021 13:25 UTC

I've been using https://statcounter.com for many years, but with every
site revamp it has become a little more unusable; for the last year or
so I've resorted to downloading the entire log data and inspecting it
manually in order to see which pages have received hits recently (the
only level of data I was ever particularly interested in).

But at some point in the last couple of weeks the site has now disabled
that feature unless you 'upgrade' to a paying account, which I have no
intention of doing since most of the 'basic' features are no longer
accessible from NetSurf as it is. The e-mailed traffic breakdowns
simply list number of page views without giving any indication as to
which pages were affected, e.g. one person viewed five pages on
Wednesday but there no longer seems to be any way to tell which pages
they were. I can get a list of the most popular 'entry pages' and of
the pages which received most hits overall, but I can't find a way to
access the most *recent* page hits - which is what I actually wanted to
know!

The list of search strings that resulted in hits was disabled long ago,
when Google decided to encrypt that data as presumably commercially
valuable....

--
Harriet Bazley == Loyaulte me lie ==

Save energy: be apathetic.

Re: Statcounter.com

<59732977eatim@invalid.org.uk>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1900&group=comp.sys.acorn.misc#1900

  copy link   Newsgroups: comp.sys.acorn.misc
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!aioe.org!UrJTc/xR3nHWn6+5Z+2t5Q.user.46.165.242.91.POSTED!not-for-mail
From: tim@invalid.org.uk (Tim Hill)
Newsgroups: comp.sys.acorn.misc
Subject: Re: Statcounter.com
Date: Tue, 28 Sep 2021 19:17:48 +0100
Organization: timil.com
Message-ID: <59732977eatim@invalid.org.uk>
References: <93e58a7259.harriet@bazleyfamily.co.uk>
Injection-Info: gioia.aioe.org; logging-data="49601"; posting-host="UrJTc/xR3nHWn6+5Z+2t5Q.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Pluto/3.16 (RISC OS/5.24) NewsHound/v1.50-32
X-Notice: Filtered by postfilter v. 0.9.2
 by: Tim Hill - Tue, 28 Sep 2021 18:17 UTC

In article <93e58a7259.harriet@bazleyfamily.co.uk>, Harriet Bazley
<harriet@bazleyfamily.co.uk> wrote:
> I've been using https://statcounter.com for many years, but with every
> site revamp it has become a little more unusable; for the last year or
> so I've resorted to downloading the entire log data and inspecting it
> manually in order to see which pages have received hits recently (the
> only level of data I was ever particularly interested in).

[Snip]

If your server can run PHP scripts (this works with WebJames w/PHP!) your
pages can write their own log files.

<?php
$line = date('Y-m-d H:i:s') . " - $_SERVER[REMOTE_ADDR] -
$_SERVER[REQUEST_URI]";
file_put_contents('visit.log', $line . PHP_EOL, FILE_APPEND);
?>

e.g. rename index.htm to index.php and add the above snippet at the top,
before the HTML (or include() it!). If the visit.log file doesn't exist,
the first visit to a page containing this code will create it.

N.B. Don't use something this simple if you expect thousands of visitors
an hour!!!

--

Tim Hill
Webmaster, https://timil.com

websites : php : RISC OS

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor