Connect Stripe
Connect Stripe with a read-only restricted key so Boostra can attribute live payments to your visitors.
Updated
Connecting Stripe lets Boostra put real money next to your traffic: revenue by channel, page and visitor, revenue in your funnels, and the revenue opportunity estimate. The connection uses a restricted API key that can only read. Boostra can't move money, and you can remove the key at any time in Stripe.
Only the workspace owner can connect Stripe. Other members see "Ask the workspace owner to connect Stripe."
Before you start#
- Make sure tracking is installed and live. Payments are matched to visitors Boostra has already tracked.
- Your Stripe account must be activated for live payments. Boostra only reads live payments, so a test-mode account would show no revenue.
Connect your Stripe account#
- Open your site and go to Settings, then the Stripe card. You can also do this in the setup wizard, in the step "Connect Stripe revenue".
- Click Open Stripe. Stripe opens a key form that is already named "Boostra Analytics (read-only)" with the right permissions selected.
- You'll see a long list of permissions. Everything is already set: scroll to the bottom and click Create key. Stripe may send you a code to confirm.
- Copy the key that starts with
rk_live_. - Paste it into the key field in Boostra and click Connect.
Boostra shows "Checking Stripe key…" and then "Stripe connected".
What happens after you connect#
Boostra imports your live payments from the last 90 days (up to 25,000 of them) and every new one after that. If you have more, you see "Only the most recent payments of the last 90 days were imported." New payments arrive through a webhook Boostra creates in your Stripe account; if that isn't possible, Boostra checks Stripe for new payments on its own.
Refunds and disputes are imported too, so revenue in Boostra is net of refunds. One Stripe account can be connected to only one site.
Common errors#
- Test-mode key (
rk_test_orsk_test_): create a live restricted key instead, one that starts withrk_live_. - Full secret key (
sk_): for safety Boostra refuses it. Use the read-only restricted key from Open Stripe. - Publishable key (
pk_): this key can't read payments. Use a restricted key. - A missing permission: Stripe didn't grant one permission Boostra needs (Account, Charges and Payment Intents are required). Click Open Stripe again: the form is already filled in.
Disconnect Stripe#
In the Stripe card, click Disconnect. Payments already imported stay in Boostra, so your revenue history doesn't change, and new payments stop coming in. Boostra deletes its copy of the key. To revoke the key itself, delete it in Stripe under Developers > API keys.
Next, make your checkout pass visitor IDs to Stripe so more payments are matched: see Link Stripe Checkout to visitors.
Related articles
-
Link Stripe Checkout to visitors
Pass Boostra's visitor and session IDs into Stripe Checkout metadata so every payment is tied to the visit that produced it.
Read article -
How revenue is matched to visitors
The signals Boostra uses to tie a Stripe payment or Shopify order to a tracked visitor, and why totals can differ from Stripe.
Read article -
Revenue attribution by channel, page and visitor
Where Boostra shows attributed revenue: dashboard metrics, breakdown cards, the world map and each visitor's profile.
Read article