search
HomeWeb Front-endCSS TutorialOptions for Hosting Your Own Non-JavaScript-Based Analytics

Options for Hosting Your Own Non-JavaScript-Based Analytics

Numerous website analytics platforms help you track website visitors and usage data. The most famous of these is Google Analytics, which is widely used (including this website), probably because it is easy to integrate, feature-rich, and free (until you need to upgrade to the enterprise level, which costs hundreds of thousands of dollars).

I have no particular objection to Google Analytics. In fact, I really like it, especially after I learned more about customizing it, like we did on CSS-Tricks and CodePen.

But there are other options. In particular, I want to look at some other options, these:

  • You can host your analytics data yourself. It is always good to have your own data.
  • JavaScript is not required for data collection. JavaScript is now often blocked due to growing vigilance against third-party JavaScript. It's interesting to consider completely inconspicuous server log-based analysis.

I haven't found many options to choose from. One of the classic solutions I always think of in this type of solution is Shaun Inman's Mint, but Mint no longer accepts new customers. Maybe I'm not looking in all the right places, maybe you can help. If you know more options – especially those you have experience – please leave a comment in the comments.

Fathom Analytics

This is a tool Dave Rupert has used and written articles on his personal website. They have a paid hosted version that is still focused on privacy because it does not track or store user data. But they also have a free self-hosted version that you can run on your own. The actual data collection is done through the JavaScript code snippet you put into the website.

I'm using @usefathom and @HasuraHQ on Postgres via my @gatsbyjs blog https://www.php.cn/link/1951434fd86f7c1af10d4b8dc1624460 to get my stats (generate the "Maximum Views" list in the footer).

— knut (@kmelve) September 9, 2019

Ackee

This tool is based on Node.js and can only be hosted by itself. The actual data collection is done through the JavaScript code snippet you put into the website.

Matomo On-Premise

Matomo Cloud is their hosted version, while On-Premise is their self-hosted version. The actual data collection is done through the JavaScript code snippet you put into the website.

I personally use Matomo in my side project. It's powerful and makes me love it. ✌

— RaKesh Mandal (@rkalways_) September 10, 2019

GoAccess

GoAccess is worth paying attention because it is the first "Web Log Analyzer" in its list, which means it looks at access logs created by the web server, rather than relying on the client-side JavaScript report. In theory, this should be more accurate, because client-side JavaScript can be blocked. GoAccess generates reports that can be viewed in the terminal, as well as browser-based charts.

I'm using GoAccess as a static site generated on cronjob ( https://www.php.cn/link/589614f4059c694cd0fd49e71249d610 .

— Shane Hudson (@ShaneHudson) September 9, 2019

Netlify Analytics

Netlify Analytics is not self-hosted and you will not install it yourself on the server you rented. One important reason to use Netlify is that it prevents you from handling your own server. Analytics are based on server logs, not JavaScript, as they may be more accurate and do not affect performance.

Web hosts are able to provide analysis services to their users because they can configure their own logging, etc. For example, I also have analytical data on this website via Flywheel without installing anything as they can analyze traffic through their servers. We wrote an overview of the service when it was released.

AWStats

AWStats is the oldest analytical tool. When I started using the web, all web hosting providers advertised the AWStats dashboard as part of their products. It runs on Perl and like the last two services mentioned above, it fetches data from the server log.

It's not pretty, but it's free, open source, and has nearly 20 years of software project stability.

The above is the detailed content of Options for Hosting Your Own Non-JavaScript-Based Analytics. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Where should 'Subscribe to Podcast' link to?Where should 'Subscribe to Podcast' link to?Apr 16, 2025 pm 12:04 PM

For a while, iTunes was the big dog in podcasting, so if you linked "Subscribe to Podcast" to like:

Browser Engine DiversityBrowser Engine DiversityApr 16, 2025 pm 12:02 PM

We lost Opera when they went Chrome in 2013. Same deal with Edge when it also went Chrome earlier this year. Mike Taylor called these changes a "Decreasingly

UX Considerations for Web SharingUX Considerations for Web SharingApr 16, 2025 am 11:59 AM

From trashy clickbait sites to the most august of publications, share buttons have long been ubiquitous across the web. And yet it is arguable that these

Weekly Platform News: Apple Deploys Web Components, Progressive HTML Rendering, Self-Hosting Critical ResourcesWeekly Platform News: Apple Deploys Web Components, Progressive HTML Rendering, Self-Hosting Critical ResourcesApr 16, 2025 am 11:55 AM

In this week's roundup, Apple gets into web components, how Instagram is insta-loading scripts, and some food for thought for self-hosting critical resources.

Git Pathspecs and How to Use ThemGit Pathspecs and How to Use ThemApr 16, 2025 am 11:53 AM

When I was looking through the documentation of git commands, I noticed that many of them had an option for . I initially thought that this was just a

A Color Picker for Product ImagesA Color Picker for Product ImagesApr 16, 2025 am 11:49 AM

Sounds kind of like a hard problem doesn't it? We often don't have product shots in thousands of colors, such that we can flip out the with . Nor do we

A Dark Mode Toggle with React and ThemeProviderA Dark Mode Toggle with React and ThemeProviderApr 16, 2025 am 11:46 AM

I like when websites have a dark mode option. Dark mode makes web pages easier for me to read and helps my eyes feel more relaxed. Many websites, including

Some Hands-On with the HTML Dialog ElementSome Hands-On with the HTML Dialog ElementApr 16, 2025 am 11:33 AM

This is me looking at the HTML element for the first time. I've been aware of it for a while, but haven't taken it for a spin yet. It has some pretty cool and

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Atom editor mac version download

Atom editor mac version download

The most popular open source editor