revert: remove homepage A/B test setup#17742
Merged
Merged
Conversation
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)
✅ Deploy Preview for ethereumorg ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
wackerow
reviewed
Mar 10, 2026
Member
wackerow
left a comment
There was a problem hiding this comment.
@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
wackerow
approved these changes
Mar 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
app/[locale]/page.tsxto its pre-AB-test state, with theENTERPRISE_ETHEREUM_URLconstant fix fromd117fc78applied on top.What was reverted
ABTestWrapperwrapping the entire homepage with 3 variantsexport const dynamic = "force-dynamic"(was needed for A/B cookie-less assignment).catch(() => null)graceful degradation on all data fetches (restoredthrowon failure)ScrollDepthTrackerandTrackedSectionwrappers around homepage sectionsgetAccountHoldersfetch (only used by redesign variants)"find_wallet"→"find wallet","cta_click"→"Top 4 CTAs", etc.)What was kept
Homepage2026component and all sub-components (ScrollDepthTracker,TrackedSection, etc.)ab-testing/server.tsbot detection,constants.tsSITE_URL)app/api/ab-config/route.ts(shared A/B test API)Test plan
npx tsc --noEmit)pnpm lint)