PostHog
With the PostHog integration, you can attach feature access properties to users and groups on PostHog. This will enable you to query analytics based on feature access filters.
Get available features from Bucket
In this example, we're using the Browser SDK:
This will return JSON with all available features for the authenticated user:
Add as property on PostHog
We can forward all features or pick certain features and send access state to PostHog:
Which will look like this on PostHog:
You may want to add the property to the user's group as well.
Last updated