Product guides
Revenue — put money on your traffic
Three ways to record sales, from zero-code to full control. Currencies are never converted.
How revenue works here
There is no separate revenue system to learn. Put a revenue number on any event you already send and it becomes money in the Revenue tab. Everything below is just different ways of sending that one event.
spx('purchase', {
revenue: 49.00,
currency: 'USD',
plan: 'pro',
});Zero code: WooCommerce
The WordPress plugin records each paid order from the thank-you page automatically. Install it and skip the rest of this page.
Zero code: Shopify
Shopify reports each paid order to Asuito through a webhook you create with clicks in the Shopify admin — no code, and it covers POS and other sales channels too. The Shopify install guide has the three steps.
Zero code: your payment processor
If you take payments through Stripe, Razorpay, Lemon Squeezy, or Dodo, point the processor’s webhook at Asuito and every settled payment is recorded without a line of code on your site — including payments that never touch a browser, like subscription renewals.
1. Open your site’s dashboard → Settings → the Revenue card (owners only).
2. Copy the webhook address shown there and paste it into your processor’s webhook settings, subscribing to the events the card lists.
3. Pick your processor on the card and paste the signing secret your processor shows you. The secret is what proves an event really came from them.
Only settled money counts: a pending order, an authorisation, or a failed charge is never booked, because showing money that may not arrive is worse than showing it a moment late.
From the browser
Fire the purchase event above from your order-confirmation page. Name the event whatever you like — revenue (a number) and currency (a three-letter code) are the two properties that make it money.
Shopify stores: the customer-events pixel in the Shopify install guide is exactly this, pasted once.
From your server
POST to /api/v1/event with an API key and the same properties, plus user_id to credit the sale to an identified customer. Details in Events, REST API & MCP.
Currencies
Recorded, never converted. A site selling in dollars and euros sees a dollar total and a euro total rather than one figure built on somebody’s exchange-rate guess.