Skip to main content
Open Integrations in the Retain dashboard, choose your provider, and follow the on-screen steps. After you connect a payment provider, Retain ingests billing events (subscriptions, renewals, upgrades, cancellations, and more) automatically and ties them to your users.

Matching users from payment provider

Connecting a payment provider creates or updates customers in Retain automatically from your billing data. Retain matches customers from your payment provider to users in your product using a shared identifier. Use one of these approaches so revenue and in-app behavior stay on the same customer:
  1. Same email - The customer email from your payment provider must be the same as the one used in identify on Retain. Matching email addresses will link billing events with track activity. Customer from your payment provider:
    Identifing the user on Retain:
  2. Same userId in metadata - Store your application’s userId (the same value used in identify) in the customer metadata of your payment provider. This ensures billing events are always linked to the correct user, even if the email is different. Customer from your payment provider:
    Identifing the user on Retain:
    Product and billing emails can differ. Matching userId links both sides.

Native connectors

  • Stripe
  • Polar
  • Paddle (coming soon)
  • Lemon Squeezy (coming soon)

Next steps

What should I track?

Choose product events to track.