Skip to main content

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.

Connect Polar

1

Get your API token

Go to your Polar Settings and generate an API access token.
2

Add to Revlytics

In Settings → Revenue Tracking, select Polar and paste your API token.
3

Connect

Click Connect — Revlytics will begin syncing your Polar revenue data.

Automatic checkout detection

When a customer completes a Polar checkout and returns to your site with a checkout_id URL parameter, the tracking script fires a payment event automatically.

Checkout redirect setup

Configure your Polar checkout success URL to include the checkout ID:
https://yoursite.com/success?checkout_id={CHECKOUT_ID}

What’s tracked

DataSource
Checkout IDURL parameter
Payment amountPolar API
Product namePolar API
Traffic sourceRevlytics session
Landing pageRevlytics session
For Polar Checkout Links, append your domain’s success URL to capture the redirect:
https://polar.sh/checkout/xxx?success_url=https://yoursite.com/success