Revenue attribution
Set up revenue tracking
Choose provider, browser, or server tracking without duplicating orders.

Use a provider integration when Stripe, Polar, or Lemon Squeezy is the source of truth. Use browser tracking for simple successful checkouts where the amount is visible, or the write-key API when your server confirms the order.
Pass PageDuel.getVisitorId() into checkout metadata or your server so the purchase connects to acquisition and experiments. Send each order through exactly one route. Test a real sandbox purchase and refund, then confirm amount, visitor, source, and experiment attribution in Revenue.