Stripe Revenue Attribution
Connect Stripe once, then choose how Humblytics links each payment to the visit that led to it.
Setup has two parts: connect your Stripe account, then tell Humblytics which visit each payment came from.
Step 1: Connect Stripe
In Humblytics, go to Connect → Connectors.
Under Revenue, click Connect next to Stripe.
Paste a Stripe API key (see the next section).
Click Test Connection, then Save Changes.

Create a restricted key (recommended)
A restricted key gives Humblytics read-only access to exactly what it needs, and nothing more.
In Stripe, go to Developers → API keys and click Create restricted key.
Name it something like
Humblytics.Set Read access for Payment Intents, Invoices, Subscriptions, Customers, Charges, and Account.
Click Create key and copy it into Humblytics.
Restricted keys start with rk_. A full secret key (sk_) also works, but it gives more access than Humblytics needs. Humblytics reads your charges to attribute revenue and never stores card data.
Step 2: Link payments to visits
Pick the method that matches how you take payments:
Your own checkout that calls the Stripe API (Checkout Sessions, Payment Intents, Subscriptions)
Yes. Pass one ID to Stripe.
Stripe Elements, a third-party tool built on Stripe, or anything else
Yes. One line with the buyer's email.
Not sure which one you use? If your buy button links to buy.stripe.com, you use Payment Links.
Step 3: Check that it works
Make a test purchase in a private window, then check Observe → Attribution → Recent Attributed Transactions.
Last updated