Skip to content

feat: track analytics events for empty state actions in ProjectEmptyView#9910

Open
pavkout wants to merge 1 commit intoKong:developfrom
pavkout:INS-2461
Open

feat: track analytics events for empty state actions in ProjectEmptyView#9910
pavkout wants to merge 1 commit intoKong:developfrom
pavkout:INS-2461

Conversation

@pavkout
Copy link
Copy Markdown
Contributor

@pavkout pavkout commented May 8, 2026

No description provided.

Copilot AI review requested due to automatic review settings May 8, 2026 14:30
@pavkout pavkout self-assigned this May 8, 2026
@pavkout pavkout requested a review from a team May 8, 2026 14:30
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds Segment analytics tracking for user actions taken from the project empty state UI, improving visibility into how users start work in a new/empty project.

Changes:

  • Added new SegmentEvent enum values for “Send a request” and “Create document” empty-state actions.
  • Wired window.main.trackSegmentEvent calls into the corresponding ProjectEmptyView button handlers.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
packages/insomnia/src/ui/components/project/project-empty-view.tsx Emits new Segment events when users click “Send a request” or “Create document” from the empty project view.
packages/insomnia/src/ui/analytics.ts Adds new SegmentEvent constants for the empty-state button clicks.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants