experiment: pricing-layout
Plans that grow with your experiments
You're seeing the control layout, served as a static page.
Switch layout (QA)
How this page works
Same URL, three static pages
The address bar says /pricing, but proxy.ts rewrote the request to /pricing/control. All three pages are built ahead of time with generateStaticParams, so a CDN can cache each one.
Tracking flags in a cookie
A static page can't read request headers. proxy.ts puts the tracked / override flags into the exp_pricing-layout cookie, and the client reads them before logging the exposure.
A smooth switch
Switching layouts is a client navigation. Plan names, prices and buttons share a <ViewTransition> name across layouts, so each one glides to its new spot.
Want to see which layout a brand-new visitor gets? Reset and the proxy buckets you again.