Conversion tracking requires a Pro plan
subscription or higher (or an active conversion trial).
sale event happens when a user purchases your product or service. Examples include:
- Subscribing to a paid plan
- Usage expansion (upgrading from one plan to another)
- Purchasing a product from your online store

Prerequisites
Before you get started, make sure you follow the CodeQR Conversions quickstart guide to get CodeQR Conversions set up for your links:- Enable conversion tracking for your links
- Install the @codeqr/analytics client-side SDK
- Install the CodeQR server-side SDK
Clerk
NextAuth.js
Supabase
Auth0
Appwrite
Step 1: Configure sale tracking
Next, depending on which payment processor you’re using, you can leverage our native integrations to track sale events:Stripe
Tracking sale conversion events with Stripe and the CodeQR SDK
Step 2: View conversion results
And that’s it – you’re all set! You can now sit back, relax, and watch your conversion revenue grow. We provide 3 different views to help you understand your conversions:- Time-series: A time-series view of the number clicks, leads and sales.

- Funnel chart: A funnel chart view visualizing the conversion & dropoff rates across the different steps in the conversion funnel (clicks → leads → sales).

- Real-time events stream: A real-time events stream of every single conversion event that occurs across all your links in your project.

Currency conversion support
For simplicity, CodeQR records all sales in the default currency of your CodeQR project. This means that if you pass a different currency, it will be automatically converted to USD for reporting consistency – using the latest foreign exchange rates.TypScript
The default currency for all CodeQR projects is currently set to
USD. We
will add the ability to customize that in the future.
