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:-
Same email - The customer email from your payment provider must be the same as the one used in
identifyon Retain. Matching email addresses will link billing events withtrackactivity. Customer from your payment provider:Identifing the user on Retain: -
Same
userIdin metadata - Store your application’suserId(the same value used inidentify) 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. MatchinguserIdlinks both sides.
Native connectors
- Stripe
- Polar
- Paddle (coming soon)
- Lemon Squeezy (coming soon)
Next steps
What should I track?
Choose product events to track.