Coming Soon - Request Early AccessThis integration is currently in Alpha development and not yet publicly available. If you’re interested in early access, please contact support@buildbetter.app with “PostHog Integration Early Access” in the subject line.
Features
- Event Tracking: Track key BuildBetter events in PostHog
- User Identity Syncing: Map BuildBetter users to PostHog profiles
- Session Recording: View user sessions in PostHog for deeper analysis
- Feature Flag Access: Control BuildBetter features using PostHog feature flags
- Custom Dashboards: Create custom PostHog dashboards with BuildBetter data
Setup Instructions
Prerequisites
- An active BuildBetter account
- A PostHog account (cloud or self-hosted)
- Admin access to both platforms
Connecting PostHog
- Navigate to Settings → Integrations in your BuildBetter dashboard
- Find and select PostHog from the analytics integrations section
- Enter your PostHog API key and project ID
- For self-hosted PostHog instances, enter your PostHog host URL
- Click Connect to establish the integration
Configuring Event Tracking
After connecting:- Go to the Event Configuration tab
- Select which BuildBetter events you want to track in PostHog:
- Call recordings
- Summaries generated
- Document creation
- Chat interactions
- User logins/logouts
- Save your configuration
Usage
Viewing BuildBetter Data in PostHog
Once connected, your BuildBetter data will appear in PostHog under the following events:buildbetter_call_recordedbuildbetter_summary_generatedbuildbetter_document_createdbuildbetter_chat_startedbuildbetter_feature_used
Creating Insights
In PostHog, you can create custom insights:- Go to Insights in your PostHog dashboard
- Create a new insight
- Filter for BuildBetter events
- Build visualizations based on your specific needs
Using Feature Flags
To control BuildBetter features with PostHog feature flags:- Create feature flags in PostHog
- In BuildBetter, go to Settings → Integrations → PostHog → Feature Flags
- Map PostHog feature flags to BuildBetter features
- Test and deploy your configuration
Troubleshooting
Events Not Appearing
- Verify your API key is correct
- Check that the events are enabled in the configuration
- Ensure there’s no network blocking between BuildBetter and PostHog
User Identity Issues
- Make sure user identification is properly configured in both systems
- Check for any ID conflicts in your PostHog setup
Data Privacy Considerations
When using this integration, consider:- What user data is being shared with PostHog
- Data retention policies in PostHog
- Compliance with privacy regulations like GDPR or CCPA