Zero-Flicker Server-Side A/B Testing & Winner Promotion
Client-side A/B scripts tank Core Web Vitals by hiding the page or flashing replacement text after load. Under Tools → A/B Testing (/d-admin/ab-testing), Daypress evaluates split variants right inside Rust SSR before bytes leave the server.
How deterministic SSR variant bucketing works
When an active experiment targets a route (e.g. / or /pricing/), Daypress hashes the visitor's daily cookieless bucketing key against the experiment ID and traffic split percentage:
- Zero CLS / Zero Flash: Variant A or Variant B HTML renders directly on the server in microseconds, and the same visitor sees a consistent variant throughout the session without third-party cookies.
- Conversion Attribution: Downstream FormStudio submissions, CTA clicks, or newsletter signups automatically credit the assigned variant (`impressions` vs `conversions`).

Creating & managing experiments via MCP
// MCP: daypress_manage_ab_tests
{
"action": "create",
"name": "Pricing Hero Headline Test",
"target_path": "/pricing/",
"selector_or_key": "Simple, transparent pricing",
"variant_b_content": "Replace 12 WordPress plugins with one binary",
"traffic_split_pct": 50
}Statistical confidence & 1-click Promote Winner
Daypress continuously computes a two-proportion Z-test confidence score comparing Control (A) and Challenger (B) conversion rates. Once an experiment reaches statistical significance (>= 95% confidence), click Promote Winner (or pass "action": "promote_winner") to commit the winning copy permanently into the page's AST and close the experiment.