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.
| Step | What to do |
|---|---|
| 1 | In 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. |
| 2 | Copy the address Mode shows for it into the system's webhook settings and turn on the events listed below. |
| 3 | Keep the Mode snippet on your site. It passes the visitor into checkout links, embeds and carts, so each webhook joins its visit. |
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.How a record finds its visitor
Mode tries each way in turn and stops at the first that names a person.
| Way | Where it comes from |
|---|---|
| The visitor ref | The 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 event | The 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 purchase | A renewal, a refund or a cancellation joins whoever made the first purchase of the same subscription or order. |
| The person's id | App store purchases through RevenueCat, Adapty or Superwall join the user id your app identifies people by. |
| A hashed email | The buyer's email is hashed on arrival and never kept. It joins a person and lets ad platforms match the sale. |
The systems and what each sends
| System | What Mode reads | How it is checked |
|---|---|---|
| Stripe | Purchases, subscription starts and renewals, refunds, disputes, trials, upgrades and downgrades, scheduled and finished cancellations, failed payments, abandoned checkouts and cards added | The endpoint's signing secret |
| Shopify | Orders paid, cancelled orders, refunds and new customers | The webhook signing secret |
| WooCommerce | Orders paid, each refund and cancelled orders | The webhook's secret |
| BigCommerce | Orders and refunds, without amounts | A secret you set as the header X-Mode-Token |
| Square | Completed payments, online and in store, and refunds | The subscription's signature key |
| Gumroad | Sales, membership charges, refunds and cancellations | A token in the address |
| Paddle | Transactions, renewals, refunds, chargebacks and the subscription lifecycle | The notification destination's secret key |
| Lemon Squeezy | Orders, renewal payments, refunds and the subscription lifecycle | The webhook's signing secret |
| Chargebee | Payments, renewals, refunds and the subscription lifecycle | The password of the webhook's basic authentication |
| Recurly | Payments, refunds and the subscription lifecycle | The endpoint's signing secret |
| PayPal | Captures and sales, renewals, refunds, reversals and subscriptions | PayPal's own certificate, with the webhook id PayPal shows |
| Braintree | Settled transactions, subscription charges, disputes, failed charges and cancellations | The API key pair's private key |
| App Store | Purchases, trials, renewals, refunds, upgrades, downgrades, renewals turned off, failed renewals and expiries | Apple's certificate chain, and the app's bundle id |
| Google Play | Every subscription and one time purchase notice and voided purchases, without prices | A token in the address of the push subscription |
| RevenueCat, Adapty | Purchases, trials, renewals, refunds and the subscription lifecycle, across stores | The authorization header you set |
| Superwall | Purchases, trials, renewals, refunds and the subscription lifecycle | The webhook's signing secret, starting whsec_ |
| Calendly | Bookings, reschedules, cancellations, no shows and paid bookings | The subscription's signing key |
| Cal.com | Bookings, reschedules, cancellations, no shows and paid bookings | The webhook's secret |
| Typeform, Tally | Form responses, with the form and response ids and never the answers | The webhook's secret |
| Jotform | Form submissions, with ids and never the answers | A 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.
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.