89 points by webanalyticsgeek 6 months ago flag hide 61 comments
user1 6 months ago next
Nice work! I've been looking for a self-hosted solution for my personal website. Will this work for dynamic sites as well?
author 6 months ago prev next
Yes, it should work for dynamic sites too. The dashboard uses simple HTTP requests to track data, so it shouldn't matter if your content is dynamic.
author 6 months ago next
That's a great suggestion! I'll definitely consider adding a GA integration in future updates.
author 6 months ago next
There's no official community yet, but you can open an issue on GitHub if you have specific questions or suggestions.
author 6 months ago next
Yes, I plan to include some basic data visualization tools and comparisons in the future.
author 6 months ago next
It's certainly possible. The easy way to do this would be by adding subdomains, you could add some filters to accommodate this request.
author 6 months ago next
I do have plans to accommodate local projects, I'll definitely add a switch for local testing once I can. Great idea, thanks for the suggestion.
author 6 months ago next
Only anonymous data, IP addresses are temporarily stored in logged format and then irreversibly anonymized afterwards.
user10 6 months ago next
Sounds like a responsible design Choice. I'm going to give this a try. Thanks!
author 6 months ago next
A simple flat file database was used for initial development, but I plan on adding SQLite or PostgreSQL support as it progresses.
author 6 months ago next
The first version is available on GitHub as open source. You can download and start using it after cloning the repo and making configurations for your usecase.
author 6 months ago next
I wanted to have more control and transparency over the gathered analytics data. But for sure, existing solutions have their own merits and it's a matter of preference and use-case.
user2 6 months ago prev next
Have you thought about integrating with Google Analytics to get even more metrics?
user3 6 months ago prev next
Open-source folk, this is awesome! Just starred this on GH. Does it have a discord/community we can join?
user4 6 months ago prev next
Do you plan on adding any visualization tools? Graphs, charts, etc.?
user5 6 months ago prev next
I wonder if this can be easily scaled to monitor multiple sites. Perhaps through subdomains or something similar?
user6 6 months ago prev next
Impressive! I've wanted this for my local projects as well. Any plans to make something for just that?
user7 6 months ago prev next
I like the simplicity and DIY approach! It's a breath of fresh air.
user8 6 months ago prev next
What about privacy? Are you logging any personal information or only anonymous data?
user9 6 months ago prev next
Thanks for the project. I'm bookmarking this for a rainy day.
user11 6 months ago prev next
What's your storage solution? A flat file or something more robust?
user12 6 months ago prev next
I can't wait to tinker with this. Great job!
user13 6 months ago prev next
When can we expect the first version of this? Seems promising.
user14 6 months ago prev next
What prompted you to create this? There are plenty of analysis tools around.
user15 6 months ago prev next
Thank you for sharing. Can't wait to check it out.
author 6 months ago next
Yes, TimescaleDB is definitely an option. I haven't added integration for TimescaleDB yet because it requires additional technical configuration, but might get to it once I get some HN traction. I actually used Influx briefly but found Prometheus (with Grafana for the UI) to be a better solution. Switching was smooth for my needs.
author 6 months ago next
I haven't added full API coverage for custom queries yet. However, there are public APIs for certain predefined queries so I'd recommend checking those out in the meantime.
author 6 months ago next
Backend is primarily written in Go w/ Gin. Frontend has a bit more to it with plain HTML/CSS and vanilla JavaScript in the mix for keeping things slim. Inviting you to check out the repo, all of the source is publicly available.
author 6 months ago next
A worldwide dataset was used so users from all around can see some geographical insights based on location. Everyone visiting your site will be considered.
author 6 months ago next
Definitely. Here are some ideas to look forward to - mobile app support, more data granularity and API coverage. Stay tuned for updates.
author 6 months ago next
Sure thing! I'll definitely look forward to well-written and tested pull requests over GitHub. Thanks for your support!
author 6 months ago next
These services, as valuable as they are, are closed-source. By contrast, my solution here is open so users can fully understand and customize to their needs without being constrained by a subscription. I dig these tools and they have their own merits, but I prefer a transparent open-source process.
author 6 months ago next
I've actually looked at Matomo, even thought of using it as well. Similar to Fathom, Ackee and Plausible it's a feature-rich closed-source option. My aim for this project was to provide more transparency and customizability, therefore remaining open-source, all the while adhering to my personal preference.
author 6 months ago next
Thanks! I'm looking forward to sharing more and enjoy using it. I hope you'll also get the opportunity to do the same.
author 6 months ago next
That's a notable idea! Feel free to open pull requests if you'd like to implement those integrations via API or manually import GA datasets. I'm 100% for it.
author 6 months ago next
For request-level details I've reserved a capped chunk of storage. For bigger datasets, you might wish to leverage an add-on or alternative data storage.
author 6 months ago next
Yes, it should be possible through a minimal change or two. I recommend keeping an eye out for HTML attributes that fit your setup. Happy to share more implementation tips if needed.
guest 6 months ago prev next
Curious, did you consider using any other databases like InfluxDB or TimescaleDB for time-series data handling?
user16 6 months ago prev next
Really cool to see this, thanks for making my day. Do you have full API coverage so I could potentially programatically extract and view results in another UI?
user17 6 months ago prev next
What languages did you use? More specifically backend and front-end frameworks. Can't wait to view the source!
user18 6 months ago prev next
For geographical insights, did you select a specific national dataset or a worldwide one?
user19 6 months ago prev next
Are you considering prioritizing development of any specific features?
user20 6 months ago prev next
Sounds great. Would you accept pull requests or maybe discuss it first over email or another platform?
user21 6 months ago prev next
How is your approach different from Fathom Analytics, Ackee, or Plausible?
user22 6 months ago prev next
How does this project compare against Matomo if you have used it? Don't see that in the previous related tools list.
user23 6 months ago prev next
Very impressed, well done. I'm looking forward for more updates.
user24 6 months ago prev next
Do you have plans for implementing data import or integration with other analytics, say Google Analytics or Firebase analytics?
user25 6 months ago prev next
How large is your dataset? Can you handle referral traffic as well as search queries, search engine info and other 'request-level' details?
user26 6 months ago prev next
If I need to track events from a web app, will it be possible with provided or modified setup?
user27 6 months ago prev next
Does the backend also track content resources, as in images, video or audio?