A lightweight open-source web analytics for webdevs
I wanted to share something I've been working on recently: Statum, a handy web analytics tool. https://github.com/extractumio/statum The journey began when I found myself frequently needing simple web analytics for my projects. I tried Google Analytics, especially GA4, and realized it was quite complex and, at times, not very accurate, especially when I wanted to view stats for the current day or recent hours. Then I tested a few fancy startup solution but ended up with way too expensive plans the expect me to subscribe (I'm not that rich to pay $99/month for every…
What it does
In the maker’s words, at launch
I wanted to share something I've been working on recently: Statum, a handy web analytics tool. https://github.com/extractumio/statum The journey began when I found myself frequently needing simple web analytics for my projects. I tried Google Analytics, especially GA4, and realized it was quite complex and, at times, not very accurate, especially when I wanted to view stats for the current day or recent hours. Then I tested a few fancy startup solution but ended up with way too expensive plans the expect me to subscribe (I'm not that rich to pay $99/month for every pet project web analytics). This drove me to think, "Why not create a tool that bridges the gap between these complex/expensive platforms and the real needs of developers like me?" So, I designed Statum to seamlessly parse both Nginx and Apache server logs. It filters all necessary data, including IP, http method, URL, and user agent. What's more, it can categorize these user-agents into mobile users, bots, and others. Besides that...to provide a holistic view, Statum augments local log file statistics with web-based JavaScript analytics, offering even deeper insights, especially into returning visitors. With Statum, you can quickly get a grip on: - The number of visitors and a breakdown between bots and real users. - Identify visitors as unique entities (tied to the browser). - Client-side parameters such as screen resolution, OS, language. - Unique user-agents and much more. I've aimed to make the setup process straightforward (it's just one js line to insert into your website template and update a few paths in .py file to parse logs from the right place). Currently, it does not have UI, I use just a text output from sqlite, the default query to get the number of visitors and return visitors is in gen_stats.sh so you can enhance it depending on what you want to analyze. I'd appreciate any feedback you have on the project. Please keep in mind that this is an initial version and it's not designed for high-traffic websites.
Does the same job
all alternatives →

- AJAnalytics.js – The analytics API you've always wanted2012 · segmentio.github.com · ▲326

- CJCube.js – Framework for building analytics into your web apps2019 · github.com · ▲12
- AOAn open source alternative to Google Analytics back end2022 · github.com · ▲18
It’s just the back end so it logs to MongoDB database so you can add any UI you want to it, feel free to contribute! (Suggestion’?)
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 1d ago · opentrailpaper.com

Launched alongside, October 2023
the whole month →
Nudge 2.0▲1,051In-app experiences to activate, retain, & understand users
Growth · 2023 · nudgenow.com


Unlock AI magic for elevated customer engagement, fast
AI · 2023 · tiledesk.com

- OD
Effortlessly discover API behaviour with a Chrome extension that automatically generates OpenAPI specifications in real time for any app or website.
Dev tools · 2023 · github.com