Skip to content

revert: remove homepage A/B test setup#17742

Merged
wackerow merged 2 commits into
devfrom
revert-homepage-ab-test
Mar 12, 2026
Merged

revert: remove homepage A/B test setup#17742
wackerow merged 2 commits into
devfrom
revert-homepage-ab-test

Conversation

@pettinarip
Copy link
Copy Markdown
Member

@pettinarip pettinarip commented Mar 9, 2026

Summary

What was reverted

  • ABTestWrapper wrapping the entire homepage with 3 variants
  • export const dynamic = "force-dynamic" (was needed for A/B cookie-less assignment)
  • .catch(() => null) graceful degradation on all data fetches (restored throw on failure)
  • ScrollDepthTracker and TrackedSection wrappers around homepage sections
  • getAccountHolders fetch (only used by redesign variants)
  • Event name changes ("find_wallet""find wallet", "cta_click""Top 4 CTAs", etc.)

What was kept

  • Homepage2026 component and all sub-components (ScrollDepthTracker, TrackedSection, etc.)
  • A/B testing infrastructure improvements (ab-testing/server.ts bot detection, constants.ts SITE_URL)
  • app/api/ab-config/route.ts (shared A/B test API)

Test plan

  • Verify homepage renders correctly (original variant)
  • Verify no type errors (npx tsc --noEmit)
  • Verify lint passes (pnpm lint)
  • Verify Homepage2026 component still exists in codebase

The A/B test has concluded. This reverts the test infrastructure from
#17261 and #17294 while preserving the Homepage2026 component code.

Changes reverted:
- Remove ABTestWrapper, ScrollDepthTracker, TrackedSection wrappers
- Remove force-dynamic rendering and .catch() graceful degradation
- Restore original error handling (throw on missing data)
- Restore original event names and action labels
- Remove getAccountHolders fetch (only used by redesign variants)
@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 9, 2026

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit d3b2fdb
🔍 Latest deploy log https://app.netlify.com/projects/ethereumorg/deploys/69b2989f4528730008e2a49b
😎 Deploy Preview https://deploy-preview-17742.ethereum.it
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 57 (🟢 up 4 from production)
Accessibility: 94 (🟢 up 1 from production)
Best Practices: 100 (no change from production)
SEO: 99 (no change from production)
PWA: 59 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@pettinarip pettinarip marked this pull request as draft March 9, 2026 15:09
@pettinarip pettinarip marked this pull request as ready for review March 9, 2026 16:30
Copy link
Copy Markdown
Member

@wackerow wackerow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pettinarip Looks good overall, but just a clarification since some of these matomo changes looked a bit out of scope, but maybe I'm missing something

Comment thread app/[locale]/page.tsx Outdated
@wackerow wackerow merged commit 239e157 into dev Mar 12, 2026
7 checks passed
@wackerow wackerow deleted the revert-homepage-ab-test branch March 12, 2026 18:33
@wackerow wackerow mentioned this pull request Mar 13, 2026
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.

2 participants