Documentation Index
Fetch the complete documentation index at: https://revlytics.co/docs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Revlytics auto-detects payment completions by looking for checkout parameters in the URL when a user returns to your site after a payment.Supported providers
| Provider | Detection | URL Parameter |
|---|---|---|
| Stripe | Checkout Session ID | session_id=cs_* |
| LemonSqueezy | Order ID | order_id=* |
| Polar | Checkout ID | checkout_id=* |
How it works
- A user completes a purchase on Stripe/LemonSqueezy/Polar
- They’re redirected back to your site with a checkout parameter in the URL
- Revlytics detects the parameter and fires a
paymentevent - The event is deduplicated per session using
sessionStorage— so refreshing the success page doesn’t double-count
Example
If a user returns tohttps://example.com/success?session_id=cs_live_abc123, Revlytics fires: