Uh oh!
There was an error while loading. Please reload this page.
feat(backend): add install_id to PostHog events - #880
Conversation
Include SOURCEBOT_INSTALL_ID in PostHog event properties for better tracking and analytics. Also removes unused import in web posthogProvider. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This comment has been minimized.
This comment has been minimized.
WalkthroughThis PR adds install_id field tracking to PostHog events by augmenting the properties sent in posthog.capture calls with the SOURCEBOT_INSTALL_ID environment variable. Changes include instrumentation in the backend, documentation updates in the changelog with clarified entry placement guidance, and removal of an unused import in the web layer. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Move #880 changelog entry to bottom of Added section. Update CLAUDE.md to note that new changelog entries should be placed at the bottom of their section. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Summary
SOURCEBOT_INSTALL_IDto PostHog event properties in the backend for better tracking and analyticsenvimport from web posthogProviderTest plan
install_idproperty whenSOURCEBOT_INSTALL_IDenv var is set🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Documentation
Chores