Documentation

Revenue and booking sources.

Orders, subscriptions, refunds and bookings from the systems you sell and book with, joined to the visit they came from.

Metrics revenue sources

Revenue, subscriptions and bookings from your other systems

Connect the system you sell, bill or book with, paste the address Mode gives you into its webhook settings, and every order, renewal, refund and booking reaches Mode Metrics, joined to the visit it came from. No code on your site and no mapping to write.

Each record lands twice. Money goes to revenue, so lifetime value, return on ad spend and Mode Promote count it. The record itself is stored as a server-confirmed conversion under its standard name, such as $purchase, $subscription_renewed, $refund or $booking_scheduled, so goals, attribution and the conversion APIs of your ad platforms read it.

StepWhat to do
1In Metrics, open Systems and pick the system under Connect a system (see Connected systems). Give the secret it signs with, where it has one. Stripe connects under Ads, then Accounts, as before.
2Copy the address Mode shows for it into the system's webhook settings and turn on the events listed below.
3Keep the Mode snippet on your site. It passes the visitor into checkout links, embeds and carts, so each webhook joins its visit.
Counted once. A record delivered twice, or seen both on your page and by its webhook, is kept once by its key, such as shopify:order:5523 or stripe:cs:cs_123. The webhook wins for the amount, tax and refunds, the page wins for the click and the session.
Metrics revenue sources

How a record finds its visitor

Mode tries each way in turn and stops at the first that names a person.

WayWhere it comes from
The visitor refThe snippet adds a short reference to Stripe Payment Links, the pricing table and the buy button, Lemon Squeezy, Paddle, Gumroad and Cal.com checkouts and links, Typeform, Tally and Jotform embeds, and the Shopify cart. The system hands it back in its webhook.
The page eventThe snippet records the system's own id when a purchase, a booking or a form finishes on your page, and the webhook names the same id.
The first purchaseA renewal, a refund or a cancellation joins whoever made the first purchase of the same subscription or order.
The person's idApp store purchases through RevenueCat, Adapty or Superwall join the user id your app identifies people by.
A hashed emailThe buyer's email is hashed on arrival and never kept. It joins a person and lets ad platforms match the sale.
Metrics revenue sources

The systems and what each sends

SystemWhat Mode readsHow it is checked
StripePurchases, subscription starts and renewals, refunds, disputes, trials, upgrades and downgrades, scheduled and finished cancellations, failed payments, abandoned checkouts and cards addedThe endpoint's signing secret
ShopifyOrders paid, cancelled orders, refunds and new customersThe webhook signing secret
WooCommerceOrders paid, each refund and cancelled ordersThe webhook's secret
BigCommerceOrders and refunds, without amountsA secret you set as the header X-Mode-Token
SquareCompleted payments, online and in store, and refundsThe subscription's signature key
GumroadSales, membership charges, refunds and cancellationsA token in the address
PaddleTransactions, renewals, refunds, chargebacks and the subscription lifecycleThe notification destination's secret key
Lemon SqueezyOrders, renewal payments, refunds and the subscription lifecycleThe webhook's signing secret
ChargebeePayments, renewals, refunds and the subscription lifecycleThe password of the webhook's basic authentication
RecurlyPayments, refunds and the subscription lifecycleThe endpoint's signing secret
PayPalCaptures and sales, renewals, refunds, reversals and subscriptionsPayPal's own certificate, with the webhook id PayPal shows
BraintreeSettled transactions, subscription charges, disputes, failed charges and cancellationsThe API key pair's private key
App StorePurchases, trials, renewals, refunds, upgrades, downgrades, renewals turned off, failed renewals and expiriesApple's certificate chain, and the app's bundle id
Google PlayEvery subscription and one time purchase notice and voided purchases, without pricesA token in the address of the push subscription
RevenueCat, AdaptyPurchases, trials, renewals, refunds and the subscription lifecycle, across storesThe authorization header you set
SuperwallPurchases, trials, renewals, refunds and the subscription lifecycleThe webhook's signing secret, starting whsec_
CalendlyBookings, reschedules, cancellations, no shows and paid bookingsThe subscription's signing key
Cal.comBookings, reschedules, cancellations, no shows and paid bookingsThe webhook's secret
Typeform, TallyForm responses, with the form and response ids and never the answersThe webhook's secret
JotformForm submissions, with ids and never the answersA token in the address

A store or app store purchase reported through RevenueCat, Adapty or Superwall keeps the store's own key, so it counts once beside Apple's or Google's own notice. A subscription change with no name of its own, such as a pause, a resume, an expiry, a trial ending or converting, an upgrade or a downgrade, is $subscription_changed with change saying which.

Metrics revenue sources

Attribution of confirmed sales

Every attribution model credits server-confirmed conversions, offline sales and calls, not only events on your pages.

In an attribution report, set the source of conversions to stored conversions and name the goal, such as $purchase or $booking_scheduled. First touch, last touch, linear, time decay, position based and data driven all read them, each joined to the person after sign in on every device, and with value each sale is worth its own confirmed amount.

Let AI run your marketing.

Mode Agent does the daily work. You approve the spend.

Get early access