Polar Checkout Links
Track and attribute revenue in Faurya for Polar Checkout Links.
Faurya can automatically attribute revenue to sessions, campaigns, and sources by connecting your payment flow to your Faurya site. This guide shows the safest, most reliable way to do that with Polar.
What “revenue attribution” means in Faurya
When a visitor lands on your site, the Faurya script assigns a Visitor ID and Session ID. When the visitor starts checkout, you pass those IDs (or the Faurya attribution token) into your payment provider. When the payment succeeds, your server (or webhook handler) confirms the payment and notifies Faurya. Faurya then ties the purchase back to the original session and attributes revenue to the right channel.
Checkout links
Polar may let you use hosted checkout links depending on your product setup. For best attribution, prefer server-created checkout so you can embed metadata.
If you must use static links:
- Route users through your pricing page first (capture session)
- Keep UTMs intact
- Record revenue even if attribution is partial
Troubleshooting
Revenue shows as “unattributed”:
- Make sure you are passing
faSessionIdorfaAttributionTokenfrom the browser to your server when you create checkout. - Confirm your checkout/session metadata includes that value.
- Confirm your webhook handler reads it back and sends it to Faurya.
Revenue is duplicated:
- Ensure you’re not recording revenue both on “return URL” and on webhook.
- Add idempotency using
orderId/ provider transaction ID.
Currency or amount looks wrong:
- Decide one convention (minor units recommended) and keep it consistent.
- Always store currency codes in ISO 4217 (USD/INR/EUR).