Repository navigation
fix(conversations): Track onboarding page views on every tab - #130767
Merged
ale-cota merged 1 commit intoNov 11, 2026
Merged
Conversation
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]>
vgrozdanic
approved these changes
Nov 11, 2026
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
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.
conversations.onboarding.page-viewonly 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,AgentsTableswaps every tab forConversationOnboarding, but the page still treats the selected tab astraces. 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_stateparameter: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-viewbehaves the same as before.Expect a step up in
conversations.onboarding.page-viewvolume once this ships. Data from Sep 15 until this merges undercounts the no-spans case.via ale.
--
View Session [Sentry]