Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2018-08-07 10:42:46

BryanA.
Member
From: Maryland, USA
Registered: 2007-08-12
Posts: 90

[SOLVED] Generate reports? Content > Files > download count?

Just a quick curiosity – is there a way to have Textpattern generate reports about specific Admin-side details whether regularly, nightly – for example, or triggered by changes, every 10 new downloads – for example?

I don’t need to track much else for the time being other than Download Count.

Last edited by BryanA. (2018-08-17 03:06:24)


The WIPsnakebite.cafe
A place for conversations like #techxiety the podcast and #SingleTracking the new, text-only-for-now topic about parenting. It’s just so easy to find ways to stay busy with Textpattern!

Offline

#2 2018-08-07 10:56:53

gaekwad
Member
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 2,379

Re: [SOLVED] Generate reports? Content > Files > download count?

BryanA. wrote #313314:

I don’t need to track much else for the time being other than Download Count.

Sounds like a job for web stats. There’s nothing that I know in core beyond the number of total downloads to date (which for podcasts can be wildly inaccurate if you factor in bots, iTunes, and the like).

Something like Matomo might be worth a look, lots of juicy stats in there.

Offline

#3 2018-08-07 15:49:44

BryanA.
Member
From: Maryland, USA
Registered: 2007-08-12
Posts: 90

Re: [SOLVED] Generate reports? Content > Files > download count?

Oh boy :) – the advantage to GoDaddy is a one-click Installatron gadget in CPanel. They had Matomo! But a 3.5 which I can upgrade I think when I want.

I wouldn’t have known what that was and probably paid $7.99 a month or something if success ever finds its way to the site. I appreciate the tip! I know that Download count can tick up unreliably, this helps.


The WIPsnakebite.cafe
A place for conversations like #techxiety the podcast and #SingleTracking the new, text-only-for-now topic about parenting. It’s just so easy to find ways to stay busy with Textpattern!

Offline

#4 2018-08-07 17:51:01

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 6,910
Website

Re: [SOLVED] Generate reports? Content > Files > download count?

Hi Bryan,

Matomo is basically free and very easy to install if you opt to download it. It has auto upgrades through its back-end and it is recommended to install it on a separate database from txp as it has a tendency of bloating in size.

Re files stats. There is kuo_file_stats, listed there as “File access statistics (0.1).”


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github

Offline

#5 2018-08-07 21:35:02

jakob
Moderator
From: Germany
Registered: 2005-01-20
Posts: 3,159
Website

Re: [SOLVED] Generate reports? Content > Files > download count?

If I’m not mistaken, all files that are accessed via their …/file_download/123/… link will be counted, even when accessed from outside textpattern.

If a file is accessed directly via its actual location domain.com/files/filename.ext the file download is not counted and you need some other means of tracking such as server logs or a web stats package like matomo or google analytics.


TXP Builders – finely-crafted code, design and txp

Offline

#6 2018-08-08 09:02:10

gaekwad
Member
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 2,379

Re: [SOLVED] Generate reports? Content > Files > download count?

jakob wrote #313330:

If I’m not mistaken, all files that are accessed via their …/file_download/123/… link will be counted, even when accessed from outside textpattern.

That’s my understanding, also. Renaming /files/.htaccess-dist to .htaccess will prevent direct downloads if the web server runs Apache.

Offline

#7 2018-08-13 13:51:52

JimJoe
Member
From: United States
Registered: 2010-01-30
Posts: 484
Website

Re: [SOLVED] Generate reports? Content > Files > download count?

Hmm. My domains’ cpanel already shows which files are downloaded. For my sites with downloads, I have a downloads article.

Offline

#8 2018-08-17 03:05:59

BryanA.
Member
From: Maryland, USA
Registered: 2007-08-12
Posts: 90

Re: [SOLVED] Generate reports? Content > Files > download count?

I’m still working out a lot of kinks in the site so it’s ready for “prime time,” but there’s a HUGE and I mean very big big disparity between Matomo which I really like, and the AWstats and Webalizer which I just found on the CPanel down low near the bottom of all sorts of stuff. Thank you JimJoe for making me look…

Matomo is like, ‘dude, remain calm, but no one likes your site or no one knows about it,’ which is cool, because I haven’t promoted it but to five or six friends and y’all Textpattern cowboys and girls.

awstats and webalizer are like, ‘DUDE! You’re a superstar! Holy sheep! You’re gonna be so rich!’ and it’s way too much for just robots and some passing RSS spiders or something. And the bandwidth is far more than my uploads (30MB a day per episode – 16th day this month, so, half a gig at most, right?) It says over 7 Gigabytes and thousands and thousands of visitors ?!?

So I appreciate the tips from you all! I’m terribly out of practice, not stupid, but never was a real whiz at this to begin with. So that’s my wrapping it up.

Solved (only to lead to other curiosities).


The WIPsnakebite.cafe
A place for conversations like #techxiety the podcast and #SingleTracking the new, text-only-for-now topic about parenting. It’s just so easy to find ways to stay busy with Textpattern!

Offline

#9 2018-08-17 07:59:05

gaekwad
Member
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 2,379

Re: [SOLVED] Generate reports? Content > Files > download count?

BryanA. wrote #313464:

Matomo is like, ‘dude, remain calm, but no one likes your site or no one knows about it,’ which is cool, because I haven’t promoted it but to five or six friends and y’all Textpattern cowboys and girls.

awstats and webalizer are like, ‘DUDE! You’re a superstar! Holy sheep! You’re gonna be so rich!’ and it’s way too much for just robots and some passing RSS spiders or something.

As a battle-hardened former podcaster from ~2006 onwards, your download stats will never be accurate. Spiders, previews, bots, the works. I remember when we used to gauge engagement with FeedBurner, and we’re going back many years. One morning I woke from obsessing over statistics the night before, and ended up poring over episode content instead. Numbers will drive you mad. Focus on the content (as I’m sure you are), make sure the usability of the site is top notch, and don’t look at the stats.

Offline

#10 2018-08-17 13:35:47

BryanA.
Member
From: Maryland, USA
Registered: 2007-08-12
Posts: 90

Re: [SOLVED] Generate reports? Content > Files > download count?

You’re totally right and I’ve had a good time listening again to the first episodes to create Show Notes and times in the episode when xyz is said or happens. It helps to keep me on track; it’s only been four weeks but it’s so tempting to get caught up in the wrong details instead of content.

That said – one final OP tidbit for anyone searching the Forums. In AWStats, you can enter CPanel and SkipHosts or exclude your own IP Address. It’s not intuitive but the directions at the following link were 100% spot on for me: Don’t count your visits in statistics. And it totally DOES include Download counts. :)

Now my measures will be far more realistic when or if I need them.


The WIPsnakebite.cafe
A place for conversations like #techxiety the podcast and #SingleTracking the new, text-only-for-now topic about parenting. It’s just so easy to find ways to stay busy with Textpattern!

Offline

Board footer

Powered by FluxBB