Skip to content

fix(onboarding): answer the promise of the clicked CTA on resumed sessions - #57

Merged
gatteo merged 1 commit into
mainfrom
fix/welcome-copy-current-click
Aug 1, 2026
Merged

fix(onboarding): answer the promise of the clicked CTA on resumed sessions#57
gatteo merged 1 commit into
mainfrom
fix/welcome-copy-current-click

Conversation

@gatteo

@gatteo gatteo commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Problem

Clicking 'Open in full editor' opened the onboarding on 'Grow 10x on LinkedIn' - no connection to the clicked button. Cause: welcome copy read answers.entrySource, and a resumed session keeps the source it STARTED with (by design, for attribution) - so the fresh ?from=tool_header was discarded (onboarding-controller.tsx even drops the parsed param entirely when resumeAnswers exists). Any session started before entry attribution shipped (07-31) resolves to direct and always gets the default hero.

Fix

Split the two concerns: arrivalSource (this navigation's ?from=, threaded controller -> modal -> context) now drives the welcome copy with precedence current-click -> stored source -> experiment default hero. Event attribution (entry_source on events and the persisted session) is untouched - the documented resume rule still holds for analytics.

Dictionary updated with the attribution-vs-copy distinction.

…sions

The welcome copy read only the session's stored entry source, which resume
keeps from the ORIGINAL entry - so a user clicking 'Open in full editor'
into a resumed (or pre-attribution) session saw the default 'Grow 10x' hero
with zero connection to the button they pressed. The current navigation's
?from= now drives the welcome copy (arrivalSource through the context) while
event attribution keeps the stored source unchanged.
@vercel

vercel Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
linkedinpreview-com Ready Ready Preview Aug 1, 2026 2:54pm

Request Review

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.

1 participant