Skip to content

Feature Request: Analytics Provider Integration #835

@hellosatyajit

Description

@hellosatyajit

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions