T3 stack analytics and logging - Axiom or PostHog?
Hey, thank you for helping me out :)
I was just wondering about Axiom and PostHog, for logging and analytics. Both seem to be recommended, PostHog seems a relatively new recommendation, maybe it has some good new feature Axiom does not offer? Are there certain advantages and disadvantages or use cases for both that I should be aware of?
Thanks again!
Solution:Jump to solution
Use both they serve different purposes
Axiom:
Short lived high volume data; I.e response times of a function route, uptime, # of calls etc
...
11 Replies
Solution
Use both they serve different purposes
Axiom:
Short lived high volume data; I.e response times of a function route, uptime, # of calls etc
PostHog:
Long term analytics like page views, onboarding success %, conversions etc
I personally use both and really like both of them
Ah I see, both are focused doing different things, thank you for answering! In your experience, do you think one of them can serve the same purposes of both relatively well? I was wondering if maybe it might be worth trying to use one of them for both purposes (if at all possible), to decrease the amount of dependencies and bundle size.
There are seems to be the next
next-axiom
package that might be related to something here?: https://axiom.co/vercelGitHub
GitHub - axiomhq/next-axiom: The official Next.js library for Axiom.
The official Next.js library for Axiom. Contribute to axiomhq/next-axiom development by creating an account on GitHub.
I wouldn’t not use them both out of fear of bundle size, you can always lazy load them and then it doesn’t impact it
I’d need to know more about what you want in terms of picking one since they’re pretty different
Hm, I see
Right now, I would want backend and frontend logging and analytics such as page visits, etc. But the thing is, I am not really sure what I want myself until I see it (I come from a very restricted background of having to use old technology on an old stack with a lack of features, right now I am trying to find better solutions). I would not even know whats out there and what things I would like to have, until I see them.
(that is to say that there are maybe things I would not even consider that would be extremely useful to have)
___
So, if I understand you correctly:
Axiom goes to the direction of: used for things that are logged from the backend to be then analysed (more low leve)
PostHog goes to the direction of: high level analytics, like page views, etc
Is that about right?
Yes exactly, the best thing about both is they have auto capture so you can set them both up in minutes and at least get an initial impression
I see. My question is answered, thank you a ton for you help :)
I will mark your answer as the solution, whenever this thing finally starts working 🤷♂️
![No description](https://cdn.answeroverflow.com/1185324110709002340/image.png)
💀 thats my bot this counts as a bug report to me
Off I go to my logs
Ok mark as solution is working again, I think Discord blocked the ip address of the host of the bot but changing regions fixed it
Ah, I take the slightly rash statement back then 😬 😄 . I marked it again and it works now, thanks!