Skip to content

fix(conversations): Track onboarding page views on every tab - #130767

Merged
ale-cota merged 1 commit into
masterfrom
fix/conversations-onboarding-page-view-analytics
Nov 11, 2026
Merged

ale-cota merged 1 commit into
masterfrom
fix/conversations-onboarding-page-view-analytics

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

conversations.onboarding.page-view only fires when the Conversations tab is selected. Since #124279, orgs without conversations default to the Traces tab. When an org has no gen AI spans at all, AgentsTable swaps every tab for ConversationOnboarding, but the page still treats the selected tab as traces. As a result, the main "get started" empty state on Explore → Agents hasn't been tracked since mid-September, which is why the event dropped off sharply for new orgs.

This fires the event whenever onboarding is shown, and adds an empty_state parameter:

  • no_agent_spans: the selected projects have no gen AI spans, so onboarding replaces the whole table area.
  • no_conversations: the org has agent spans but no conversation ids, and the Conversations tab is selected. This is the only case the event covered before.

conversations.table.page-view behaves the same as before.

Expect a step up in conversations.onboarding.page-view volume once this ships. Data from Sep 15 until this merges undercounts the no-spans case.

via ale.

--

View Session [Sentry]

conversations.onboarding.page-view only fired on the Conversations tab. Since orgs without conversations default to the Traces tab, the onboarding shown to orgs with no gen AI spans was never tracked. Fire the event whenever onboarding renders and add an empty_state parameter to tell the no-spans and no-conversations cases apart.

Co-Authored-By: Alexandra Cota <[email protected]>
@sentry-junior
sentry-junior Bot requested a review from a team as a code owner November 11, 2026 09:53
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Nov 11, 2026
@ale-cota
ale-cota merged commit 1822ead into master Nov 11, 2026
86 checks passed
@ale-cota
ale-cota deleted the fix/conversations-onboarding-page-view-analytics branch November 11, 2026 10:03
ale-cota added a commit that referenced this pull request Nov 11, 2026
`conversations.table.page-view` only fires when the Conversations tab is
selected on Explore → Agents. The Traces and LLM Calls tabs send no page
view of their own. Since #124279, orgs without conversation IDs land on
Traces by default, so we can't see which tables most visitors use.

This fires `conversations.table.page-view` whenever a table is shown, on
any tab, and adds a `tab` parameter: `conversations`, `traces`, or
`spans` (LLM Calls). The values match the `table` URL param. Switching
tabs fires the event again for the new tab.

What stays the same:
- When onboarding replaces the table, the page still fires
`conversations.onboarding.page-view` instead (#130767).
- `conversations.page-view` still fires on every load.

Expect `conversations.table.page-view` volume to go up once this ships.
Data before then only covers the Conversations tab.

Not included: a separate tab-switch event on the overview. Each switch
now fires a page view with the new `tab`, so switches show up in the
data. Telling a default landing apart from a deliberate click would
still need its own event.

<!-- junior-request-attribution:start -->
via **ale**.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!-- junior-conversation-id:local%3Aweb%3A486bbfe9b2d4cf324748a1ed -->

--

[View Session in
Sentry](https://sentry.sentry.io/explore/conversations/local%3Aweb%3A486bbfe9b2d4cf324748a1ed/?project=4510944073809921)

<!-- junior-session-footer:end -->

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: ale <[email protected]>

This branch was successfully deployed

1 active deployment
Preview — 64bbcf88 Deployed Nov 11, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants