UnlyEd / next-right-now

Flexible production-grade boilerplate with Next.js 11, Vercel and TypeScript. Includes multiple opt-in presets using Storybook, Airtable, GraphQL, Analytics, CSS-in-JS, Monitoring, End-to-end testing, Internationalization, CI/CD and SaaS B2B multi single-tenancy (monorepo) support
https://unlyed.github.io/next-right-now/
MIT License
1.26k stars 111 forks source link

Changing Amplitude to PostHog (OSS and free analytics) #373

Open Vadorequest opened 3 years ago

Vadorequest commented 3 years ago

Is your feature request related to a problem? Please describe. Amplitude is a paid 3rd party that provides 10M events free per month. But if any advanced feature is required, the base "Enterprise plan" price starts around $50k/y, which is just insane.

Also, we send data to a 3rd party, and it has potential issues with regulations (GDPR, etc.)

Basically, we're not the master of our data, and while storing data in Amplitude is free (up to 10M/month), reading them from external tools isn't and require a Growth plan.

Describe the solution you'd like A solution that:

Describe alternatives you've considered https://posthog.com/pricing is open source, can be completely free, provides EE features (paid), can be self-hosted, can be managed (free up to 1M events/month) and allows us to exploit our data in any way we like.

As it's OSS, it's more likely that a private vendor to provide integrations for 3rd parties, and PR are welcome if we need to add one in particular.

Additional context I'm thinking about switching and get rid of Amplitude. I love the amplitude/react API, it's really good DX. But there are too many limitations for the business.

Doc:

samuelcastro commented 2 years ago

+1000 for this

Vadorequest commented 2 years ago

I've used PostHog for other projects and I like it much better than Amplitude.

Although I looked into the SDK and PostHog doesn't have an SDK for React specifically, but an OSS package for Next.js exists (1 star).

Not sure when I'll do that, one of my issues being, I have several production apps/projects using Amplitude and I must keep maintaining them, so ditching it completely is not possible at this time (and won't likely be for years).