feat(seer): Add source field to coding integration analytics and expand coverage#107528
Merged
feat(seer): Add source field to coding integration analytics and expand coverage#107528
Conversation
…nd coverage Add `source` field to distinguish where analytics events originate: - `cta`: From CursorIntegrationCta or GithubCopilotIntegrationCta components - `settings_dropdown`: From legacy Seer settings dropdown - `settings_toggle`: From new triage-signals-v0 toggle Expand analytics coverage to: - GithubCopilotIntegrationCta install button - ProjectSeer settings page (both dropdown and toggle handlers)
…xplorer Track when users click "Send to Cursor/Copilot" with: - `coding_integration.send_to_agent_clicked` event - `source: 'autofix'` from regular autofix root cause page - `source: 'explorer'` from explorer autofix - Includes provider, group_id, user_id
ajay-sentry
approved these changes
Feb 3, 2026
jaydgoss
pushed a commit
that referenced
this pull request
Feb 12, 2026
…nd coverage (#107528) ## Summary Adds comprehensive analytics tracking for coding integration interactions: ### New Events 1. **`coding_integration.install_clicked`** - Tracks clicks on "Install" buttons - `source: 'cta'` - From CTA components - `source: 'settings'` - From settings page (if applicable) 2. **`coding_integration.setup_handoff_clicked`** - Tracks setup/enable handoff clicks - `source: 'cta'` - From CursorIntegrationCta component - `source: 'settings_dropdown'` - From legacy Seer settings dropdown - `source: 'settings_toggle'` - From new triage-signals-v0 toggle 3. **`coding_integration.send_to_agent_clicked`** - Tracks "Send to Cursor/Copilot" clicks - `source: 'autofix'` - From regular autofix root cause page - `source: 'explorer'` - From explorer autofix ### Files Changed - `seerAnalyticsEvents.tsx` - Added event definitions - `cursorIntegrationCta.tsx` - Added source field to existing events - `githubCopilotIntegrationCta.tsx` - Added install click tracking - `projectSeer/index.tsx` - Added tracking for settings dropdown and toggle - `autofixRootCause.tsx` - Added send to agent tracking - `useExplorerAutofix.tsx` - Added send to agent tracking for explorer ## Test plan - [ ] Verify `coding_integration.install_clicked` fires with correct `source` when clicking install buttons - [ ] Verify `coding_integration.setup_handoff_clicked` fires with correct `source` from CTA, dropdown, and toggle - [ ] Verify `coding_integration.send_to_agent_clicked` fires when clicking "Send to Cursor/Copilot" in autofix - [ ] Verify `coding_integration.send_to_agent_clicked` fires when clicking "Send to Cursor/Copilot" in explorer
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds comprehensive analytics tracking for coding integration interactions:
New Events
coding_integration.install_clicked- Tracks clicks on "Install" buttonssource: 'cta'- From CTA componentssource: 'settings'- From settings page (if applicable)coding_integration.setup_handoff_clicked- Tracks setup/enable handoff clickssource: 'cta'- From CursorIntegrationCta componentsource: 'settings_dropdown'- From legacy Seer settings dropdownsource: 'settings_toggle'- From new triage-signals-v0 togglecoding_integration.send_to_agent_clicked- Tracks "Send to Cursor/Copilot" clickssource: 'autofix'- From regular autofix root cause pagesource: 'explorer'- From explorer autofixFiles Changed
seerAnalyticsEvents.tsx- Added event definitionscursorIntegrationCta.tsx- Added source field to existing eventsgithubCopilotIntegrationCta.tsx- Added install click trackingprojectSeer/index.tsx- Added tracking for settings dropdown and toggleautofixRootCause.tsx- Added send to agent trackinguseExplorerAutofix.tsx- Added send to agent tracking for explorerTest plan
coding_integration.install_clickedfires with correctsourcewhen clicking install buttonscoding_integration.setup_handoff_clickedfires with correctsourcefrom CTA, dropdown, and togglecoding_integration.send_to_agent_clickedfires when clicking "Send to Cursor/Copilot" in autofixcoding_integration.send_to_agent_clickedfires when clicking "Send to Cursor/Copilot" in explorer