PostHog / posthog-js-lite

Reimplementation of posthog-js to be as light and modular as possible.
https://posthog.com/docs/libraries
MIT License
51 stars 27 forks source link

Early Access Management on the server side #104

Open meza opened 10 months ago

meza commented 10 months ago

It would be great to have the early access management on the server side too. I'm in the process of implementing invitation emails and this would be the exact feature I'd need to make it happen.

Related sub-libraries

neilkakkar commented 10 months ago

Hey @meza , while it's not yet part of the SDK because of limited use on the backend, you can copy what posthog-js does, without any optimisations for the frontend: you just need to add a property to the user when they opt in, and remove it when they opt out