Andrii Romasiun

Swetrix - Open source, cookieless Google Analytics alternative

An intuitive Google Analytics alternative. Swetrix comes with real time traffic analysis, website speed monitoring, marketing funnels, sales tracking, errors tracking, sessions, geolocation data and more! 100% open-source and selfhostable.

Add a comment

Replies

Best
Andrii Romasiun
Hello ProductHunt! 👋 Swetrix is an open source and selfhostable Google Analytics alternative. I built it because I'm passionate about privacy, open source and data, and I wanted to make something cool in this field. All of the other alternatives are either too simple (Plausible, Fathom) or have overcomplicated dashboards (GA, Posthog). Swetrix is built as a perfect middle ground - intuitive and privacy-respecting. Swetrix v4 is our biggest release so far, it comes with: 📈 Real time data monitoring 📍 City-level geolocation data 🔥 Site speed monitoring (web vitals) 🌪️ Funnels 👥 Sessions overview 🐞 Errors tracking ... and more (teams, GSC integration, sales tracking, alerts) Swetrix comes both as a Cloud version, or a Community Edition that you can host on your own servers! I'll be very happy to hear some feedback about my product :) -- I'm also building Swetrix in public on Twitter - https://x.com/andrii_rom And we have a little Discord community about Swetrix - https://discord.gg/ZVK8Tw2E8j
stas kaufman

@andriiro Congrats on the launch! Looks clean and thoughtful. I’ve tried Umami before — really like your middle-ground approach. How heavy the self-host setup is? Could it run comfortably on a small VPS?

Daniil Poletaev

Wow guys, congratulations on the launch 🔥
This is super cool. I am already using self-hosted umami analytics, how are you guys better?

Also, are you fully open source or something like plausible(half of the solution open source and half is premium features only)

Andrii Romasiun

@danshipit hey Dan, happy you liked Swetrix :)

Umami is more simple than Swetrix and they offer more basic traffic analytics and custom events.

Swetrix offers the same, and additionally more advanced features like city level geolocation, site speed monitoring, error tracking, sessions, etc.

And I also tried to put these features in a simple interface like Umami.

Swetrix is fully open source, but the repo is split in CE (AGPLv3) and Cloud version. Practially the difference between CE and Cloud is that CE does not have billing modules, but functionality / API is pretty much the same.

Daniil Poletaev

@andriiro That's cool! Yeah, i've noticed that you also track errors. Wish you good luck, really appreciate open-source software 😉

Adam Clarke

Great app and so good to see some open source analytics software coming out!

I have a question - as you are cookieless, how do you track recurring sessions from repeat users?

Andrii Romasiun

@adamclarke_x thank you, happy you liked it Adam :)

On the server side we hash values like daily rotating salt, user's IP, User-Agent, and Site ID, and store the produced hash.

It's quite accurate and this way we can track daily unique users. And it's good for privacy as well since the hash is irreversible, and values like IP or raw user agent are not accessible

I actually wrote a bit more technical details about it on the Data Policy page if you're curious to learn more

Daniel Lo Nigro

@adamclarke_x  @andriiro  The issue with just using IP and user-agent is that some ISPs use CGNAT, where thousands of customers share the same public IP address. IPv6 is practically the opposite, with client IPs changing pretty frequently for privacy reasons.

User-agent is low-entropy these days too, as Chromium and its derivatives have a frozen user agent now - no changes will be made to them other than the major version number. User agent is deprecated in favor of client hints, so it may be completely frozen in the future (no updates at all; it'll just have the same version number forever).

Do you have a solution for this, or plans to build one?

Matthew

Great design and have been looking for GA alternatives. Bookmarked!

Andrii Romasiun

@matthewlls thanks Matt! Happy you liked it!

Daniil Poletaev

This is super cool. I am already using self-hosted umami analytics, how are you guys better?

Also, are you fully open source or something like plausible(half of the solution open source and half is premium features only)

Mert HEMEDAN
I had a similar idea to build, but after realising posthog has a very generous free plan I shut down the project. I only wonder could you walk me through why you built it and how are you standing. getting 200+ upvotes on producthunt should count as a success I think
Mykyta Semenov 🇺🇦🇳🇱

Ambitious project. Congratulations!

Nickolas Theodoulou

it looks cool, what do you find to be the most useful view that Google Analytics doesn't offer?

Nickolas Theodoulou

It looks great, what do you find to be the most useful dashboard you've found with the product that Google Analytics doesn't offer?

Paul Tseluyko

Congrats on the launch Andrii 🔥