-
-
Notifications
You must be signed in to change notification settings - Fork 266
Description
Motivation
Analytics is something I add to almost every frontend project and sometimes backend too. Even with easy options like Vercel Analytics, setting it up manually every time feels like friction during project setup.
Since better-t-stack already provides integrations for things like payments, having analytics built in would save time and improve the default developer experience.
Proposal
Add an Analytics Provider integration similar to payment providers.
Initial support could be simple, for example,
- Vercel Analytics as a starting point, as Next.js is the most commonly selected framework on better-t-stack with 4.9k+ selections
- Env variable scaffolding
- Optional backend tracking later
- More providers like PostHog, Mixpanle, Plausible, or Umami can be added incrementally.
Why
Analytics is a default need for modern apps
Reduces repetitive setup work
Helps builders stay focused on shipping features
Contribution
I would love to work on this feature and can self-assign if the maintainers agree.
Note: This description was lightly revised with the help of AI for improved clarity.