PostHog / posthog-js-lite

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

Early Access Management on the server side #104

Open meza opened 1 year ago

meza commented 1 year 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 1 year 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