Skip to content

fix(web): suppress welcome on meet paths and tighten PostHog funnel - #4722

Merged
tyler-dane merged 1 commit into
mainfrom
cursor/welcome-meet-session-bot-17bd
Oct 22, 2026
Merged

tyler-dane merged 1 commit into
mainfrom
cursor/welcome-meet-session-bot-17bd

Conversation

@tyler-dane

Copy link
Copy Markdown
Contributor

What and why

Visitors coming from public /meet pages (including the /?meetingSetup=1 booking setup handoff) should not see the welcome modal or duplicate welcome funnel events during remounts in the same tab session. This change blocks the modal on those routes, session-scopes welcome_modal_shown, signup_step_viewed{welcome_viewed}, and step 1 welcome_step_viewed, flags internal/test traffic for PostHog cohorts, drops bot and headless user agents in before_send, and adds environment on sync oauth_callback (distinct id remains the principal id when known).

Verify

Focused: bun test:core packages/core/src/analytics/posthog-audience.util.test.ts, welcome modal/analytics and PostHog audience web tests, bun test:sync:fast, bun type-check, bun lint, bun test:web (710 pass). Full bun run verify --strict hit intermittent parallel test:web/test:e2e failures in the Cloud VM; CI is the gate.

VERDICT: PASS (focused suites and static checks; full verify flaky locally)

Open in Web Open in Cursor 

Keep the welcome modal off public /meet routes and meetingSetup entry so
booking setup is not interrupted. Session-scope welcome intro analytics so
remounts and reloads do not duplicate funnel events. Flag internal traffic
and drop bot user agents in PostHog before_send. Add environment on sync
oauth_callback captures.

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
@tyler-dane tyler-dane added the agent-automerge Agent-loop finished; merge-guard may squash-merge label Oct 22, 2026 — with Cursor
@tyler-dane
tyler-dane marked this pull request as ready for review October 22, 2026 03:29
@tyler-dane
tyler-dane enabled auto-merge October 22, 2026 03:29
@github-actions

Copy link
Copy Markdown
Contributor

Boot bundle: 511.6 KB gzip (-0.0 KB vs main)

@tyler-dane
tyler-dane added this pull request to the merge queue Oct 22, 2026
Merged via the queue into main with commit 2699bad Oct 22, 2026
36 checks passed
@tyler-dane
tyler-dane deleted the cursor/welcome-meet-session-bot-17bd branch October 22, 2026 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-automerge Agent-loop finished; merge-guard may squash-merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants