Track clicks and referrals using the fpr.js scripts
Installation
First, add the main tracking scripts to your website.
Replace <your-account-id-here> with your actual account id found in the settings > integrations page on your FirstPromoter dashboard.
You can send only the email or only the uid or both. You need to ensure that the actual visitor data is passed to the function.
3. Sales Tracking
If you are using Stripe, Chargebee, Braintree, Paddle or Recurly we can track sales automatically on our end. You will only need to connect your billing provider to FirstPromoter.
If you use any other billing provider you will need to track sales using the tracking API. For more information on sales tracking API, see documentation here
When a sale event is received, FirstPromoter will automatically:
Identify the corresponding affiliate to assign the sale to.
Assign the corresponding reward/commission to the promoter.
With this in place you have completed the basic tracking flow. From tracking of clicks through to assigning the corresponding commissions to the affiliates.