feat: MUSD-1278 Wire up A/B Test for Money Token Details Footer CTA - #34501
feat: MUSD-1278 Wire up A/B Test for Money Token Details Footer CTA#34501Matt561 wants to merge 7 commits into
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
…en-details-footer-cta
bfa8f58 to
01593b4
Compare
…en-details-footer-cta
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 3de096b. Configure here.
🧪 Flaky unit test detectionRun history flaky detectionHistorical failure rate is a hint, not proof — review each suggestion in context. See the flaky-test-detection skill for the full pattern reference and manual audit workflow. Failures / runs sampled per window:
AI-detected flaky patterns
|
…en-details-footer-cta
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection: Changes analyzed:
Tag selection rationale:
Performance Test Selection: |
|




Description
Adds the MUSD-1278 control/treatment experiment for the Money deposit CTA in the Token Details footer. The existing Money eligibility flag remains the prerequisite, while analytics attribution for
Money Button Clickedis limited to this footer CTA.Changelog
CHANGELOG entry: Added an A/B test for the Money deposit CTA on token details.
Related issues
Fixes: MUSD-1278: Wire up A/B Test for Money Token Details Footer CTA
Manual testing steps
Screenshots/Recordings
Before
N/A
After
N/A
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist
Note
Low Risk
Experiment gating and analytics scoping on Token Details footer; no auth or payment flow changes. Splitting Money event constants is a structural refactor with preserved barrel exports.
Overview
Adds the MUSD-1278 control/treatment experiment so the Token Details sticky footer only shows the Money deposit/earn CTA when the user is in treatment (
showMoneyDepositFooterCta: true). Eligibility fromuseMoneyAssetOverviewCtasis unchanged; the footer now also requires the experiment variant before switching to the earn-focused swap/buy layout and hiding quick buy.Registers
EARN_MONEY_DEPOSIT_FOOTER_CTA_VISIBILITY_AB_TEST_ANALYTICS_MAPPINGsoTOKEN_DETAILS_OPENED,TOKEN_DETAILS_CTA_CLICKED, andMONEY_BUTTON_CLICKED(scoped toMONEY_ASSET_OVERVIEW_FOOTER_CTA) carry experiment attribution.moneyEvents.tsis split into dependency-light modules (moneyButtonEvents,moneyEventLocations,moneyUrls, etc.) re-exported from the barrel so enum-only consumers avoid pullingAppConstants/URL config.TokenDetailsalways mountsquickBuySheet(no longer suppressed when the Money footer path is active at the parent), aligning quick buy with control users who fall back to the standard footer.Reviewed by Cursor Bugbot for commit 74d02e3. Bugbot is set up for automated code reviews on this repo. Configure here.