madsobel

madsobel

Idea for alternative web analytics

Hey folks :waving_hand:
Don’t know if this is the right place to post this, so apologies if not.
I’ve been playing around with an idea in my head for some time now, and sort of archived it for a bit, but it popped back into my head today, and now I gotta ask for some feedback on it.
In a nutshell it’s fairly simple. I was thinking about making server side web analytics based on logger data. Think of it as a custom Logger backend that will generate real-time accurate privacy friendly analytics data for you. Kinda like Webalizer (if anyone remembers that), that basically worked off off access logs.
Is this something you would use in your Phoenix projects, as an alternative to existing analytics solutions?

  • Mads

Most Liked

gdub01

gdub01

Sounds pretty neat!

https://github.com/plausible/analytics

Above is some prior art in elixir. I’d be curious how yours would compare/contrast? Also what do you think about data rollups? Like, how do you go from storing events hourly to daily to yearly? Would you do something with postgres or click house?

madsobel

madsobel

Hi @gdub01
Thanks for the feedback. I was thinking about “streaming”/batch inserting the data into a BigQuery cluster with some multi tenancy, but that could very well be something different. I’d like that “reports” based on the analytics data could be built from SQL.
I didn’t know about the Dashbit article, I’ll check that out, thanks!.
We already use Plausible at work, and it’s fine, but it does not give you the full picture, because it’s (rightfully) respecting do-not-track settings, adblockers etc for privacy, plus it’s client side based.
I think that I can achieve the same level of privacy, but with a higher degree of accuracy with this :slight_smile:

quatermain

quatermain

Logflare is now opensource Supabase Logs: open source logging server

Where Next?

Popular in Discussions Top

AstonJ
Please see the new poll here: Which code editor or IDE do you use? (Poll) (2022 Edition) It’s been a while since we first asked this, I...
208 31695 143
New
JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1144 54921 245
New
ben-pr-p
In general I’ve been sticking to this community style guide GitHub - christopheradams/elixir_style_guide: A community driven style guide ...
New
AstonJ
I’ve just started the Phoenix part of the utterly brilliant online course by @pragdave. On generating the Phoenix app he uses the --no-ec...
New
PragTob
Hey everyone, this has been brewing in my head some time and it came up again while reading Adopting Elixir. GenServers, supervisors et...
New
mmmrrr
Just saw that dhh announced https://hotwire.dev/ Is it just me or is this essentially live view? :smiley: Although I like the “iFrame-e...
New
matthias_toepp
I’d love to hear what people think about Wisp, the new Gleam web framework started by Gleam’s primary creator Louis Pilfold. Gleam, alon...
New

Other popular topics Top

jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set? Thanks.
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
985 44532 311
New

We're in Beta

About us Mission Statement