Skip to content

feat(analytics): add Add Money funnel tracking#1069

Open
bmc08gt wants to merge 2 commits into
code/cashfrom
feat/add-money-analytics
Open

feat(analytics): add Add Money funnel tracking#1069
bmc08gt wants to merge 2 commits into
code/cashfrom
feat/add-money-analytics

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Adds a unified 'Add Money' event family, modeled after the existing
transfer events (single terminal event with State/Error properties):

  • Add Money: Opened — Source: Menu | Give Shortfall | Buy Shortfall | Chat | Scanner | Balance
  • Add Money: Method Selected — Method: Coinbase | Phantom | Other Wallet | Reserves
  • Add Money: Amount Confirmed — Method + amount properties
  • Add Money: Payment Invoked. — Method + amount properties
  • Add Money: Address Copied — Mint (Other Wallet path)
  • Add Money — terminal, State=Success/Failure + Error + amount

Instrumented across the flow:

  • MenuScreenViewModel: opened from menu tile
  • CashScreenViewModel: opened from give-shortfall alert (USDF only)
  • SwapViewModel: opened from buy-shortfall alert, amount confirmed,
    payment invoked (Coinbase order placed / Phantom pre-sign), terminal
    success on balance delivery, terminal failure on order delivery
    failure/timeout, Coinbase web errors, order placement errors, and
    Phantom transaction errors
  • ChatViewModel: opened from no-balance prompt when starting a chat
  • DepositDelegate: opened from scanner Give action with nothing giveable
  • BalanceViewModel: opened from balance screen (AddMoneyUX only)
  • InternalPurchaseMethodController: method selected from deposit sheet
  • DepositViewModel: address copied

Funnel events only fire when acquiring USDF via an external funding
source; launchpad token buys remain tracked via buy()/sell().

bmc08gt added 2 commits July 10, 2026 12:18
Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
Adds a unified 'Add Money' event family, modeled after the existing
transfer events (single terminal event with State/Error properties):

- Add Money: Opened          — Source: Menu | Give Shortfall | Buy Shortfall |
                               Chat | Scanner | Balance
- Add Money: Method Selected — Method: Coinbase | Phantom | Other Wallet | Reserves
- Add Money: Amount Confirmed — Method + amount properties
- Add Money: Payment Invoked  — Method + amount properties
- Add Money: Address Copied   — Mint (Other Wallet path)
- Add Money                   — terminal, State=Success/Failure + Error + amount

Instrumented across the flow:
- MenuScreenViewModel: opened from menu tile
- CashScreenViewModel: opened from give-shortfall alert (USDF only)
- SwapViewModel: opened from buy-shortfall alert, amount confirmed,
  payment invoked (Coinbase order placed / Phantom pre-sign), terminal
  success on balance delivery, terminal failure on order delivery
  failure/timeout, Coinbase web errors, order placement errors, and
  Phantom transaction errors
- ChatViewModel: opened from no-balance prompt when starting a chat
- DepositDelegate: opened from scanner Give action with nothing giveable
- BalanceViewModel: opened from balance screen (AddMoneyUX only)
- InternalPurchaseMethodController: method selected from deposit sheet
- DepositViewModel: address copied

Funnel events only fire when acquiring USDF via an external funding
source; launchpad token buys remain tracked via buy()/sell().

Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
@bmc08gt bmc08gt self-assigned this Jul 10, 2026
@github-actions github-actions Bot added area: payments Payments, transfers, intents, billing area: onramp Deposit, purchase, Coinbase, fiat on-ramp area: tokens Token accounts, balances, token info area: session type: feature New functionality labels Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: onramp Deposit, purchase, Coinbase, fiat on-ramp area: payments Payments, transfers, intents, billing area: session area: tokens Token accounts, balances, token info type: feature New functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant