Unblock portrait phones, add analytics funnel analytics, fix plan handoff

Fixkamo-register
Shipped
August 3, 2026 at 4:18 AM UTC
Author
Kamo
Commit
0c342ff

- Remove the portrait-phone gate and "rotate your phone" dialog that hid the entire wizard on portrait phones; the wizard now renders single-column below the md breakpoint with natural page scrolling on phones, and the language/ country pickers get a real min-height so their absolutely-positioned lists don't collapse in flowing layouts. Dead orientation-lock helpers deleted. - Add analytics analytics (site previously had none) mounted once in the root layout, with window.analytics typed globally. - Emit step-level funnel events: register-start (retry until the script is up), register-step {step} on every transition, register-submit, register-complete, register-error {code}, and email-verified on the post-completion screen (covers both code entry and the SSE link path). - Checkout handoff: accept the live plan codes starter|business|enterprise (dropping the nonexistent "pro") for the apex sp_checkout_plan cookie, and persist a ?code= promo/offer code in a matching sp_checkout_code cookie so discount intent survives register -> verify -> login. - Prefill email/firstName/lastName from ?email=&first=&last= marketing handoffs, and validate prefilled alias/email on step mount so Next isn't blocked until the user re-types values we already have.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing