For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

How to Track Purchase Events

Connect your payment provider so every sale is matched to the channel, campaign, landing page, and A/B test variant that brought the buyer in.

Traffic tells you who arrives, and purchase tracking tells you who pays. Once a purchase is matched to the visit that led to it, you can see which campaigns make money, use revenue as an A/B test goal, and end a funnel at the sale.

Pick your payment provider

Provider
Setup
Guide

Stripe

Connect with an API key, then pick how you link payments to visits.

Foxy

Connect with a webhook.

beehiiv (paid subscriptions)

Stripe plus a Google Tag Manager tag.

Paddle, ReCharge, or a custom checkout

One line of code on your confirmation page.

Shop Pay / Shopify Payments

Not supported. Shopify's checkout runs on its own domain, where the tracking script can't load.

—

Stripe and Foxy connections live in Connect → Connectors, under Revenue.

Where revenue shows up

  • Observe → Analytics → Overview: Revenue, Rev/Visitor, and Conv. Rate, plus a revenue chart.

  • Observe → Attribution: revenue and ROAS by campaign, source, and landing page. See Understanding Attribution.

  • Optimize → Experiments: choose Revenue as the goal when you create a test.

Check that it works

  1. Open your site in a private window, with ad blockers turned off.

  2. Make a test purchase.

  3. Check Observe → Attribution. The payment should appear under Recent Attributed Transactions.

Using a provider that isn't listed? Email support@humblytics.com. New integrations are prioritized by demand.

Last updated