Guides

Stripe Integration

Userbird Analytics connects with Stripe in order to show revenue directly in your analytics dashboard.

In order to connect Stripe to Userbird, you need access to your Stripe Dashboard, and the ability to create webhooks.

How to Connect Stripe to your Analytics

  1. Enable Stripe Integration in Userbird Analytics

    Go to your site settings and click 'Automatically track revenue generated by Stripe'

    Enable Stripe Integration in Userbird Analytics
  2. Login to Stripe's Dashboard

  3. Search for Create a Webhook in the search bar

    Copy the unique webhook URL from your site settings and paste it into Stripe.

    It'll look like:

    https://post.userbird.com/in/{site_id}/stripe

  4. Select invoice.payment_succeeded

    Paste your destination name and endpoint URL.

    It'll look like:

    https://post.userbird.com/in/{site_id}/stripe

    Finally, press 'Create destiantion'

  5. In the description, type in Userbird Analytics.

  6. Add the payment_intent.succeeded event

  7. Select 'Webhook Endpoint'

    Select 'Webhook Endpoint'
  8. In the web hook URL field, paste your unique Userbird ingest endpoint

    It'll look like:

    https://post.userbird.com/in/{site_id}/stripe

  9. Wait for transaction data to arrive into Userbird

    Userbird only collects data about transactions after Stripe has been connected.

    It does not backfill previous data.

Frequently Asked Questions

Does Userbird Analytics sync historical Stripe data?

No. Userbird only syncs data after Stripe's webhook URL was set up.

Is Stripe revenue different from Userbird's client-side e-commerce tracking?

Yes. Userbird manages this data independently.

Does Userbird track subscription revenue?

Yes. Userbird tracks all 'payment succeeded' events through Stripe.

Does Userbird track refunds & credits?

Yes.

These will show up as negative amounts.

How to analyse Stripe revenue data in your Analytics with Userbird

  1. Enable Stripe integration if not done so already

    You will need to wait until some transactions have completed.

  2. Click 'Revenue' in the stats bar and select 'Stripe Revenue'

    This shows the revenue tracked by the Stripe integration.

  3. See the 'Stripe Revenue' tab below to show revenue per line item.

    Negative figures reflect credits and refunds.