Refersion Tracking Documentation
Getting Started
In order for Refersion to operate as expected, we must be able to capture your transactions. If you are not using a shopping cart platform that we already integrate with, you must implement our tracking solution on your website manually. Our tracking isn't very complicated and is installed similar to how Google Analytics is installed.
To install, you must complete the following steps.
- Include a JavaScript code snippet on every page on your site so that we can track your affiliate visits.
- Report each order to us either on your "thank you" page using JavaScript or through a Webhook (for more advanced developers).
Your Refersion API Keys
For most of our APIs you must identify your account with your own unique Refersion API Public and/or Secret key. You can find API keys in your Refersion account by navigating to Account > Settings > Refersion API. You may use an existing set of keys or create a new set.
Tracking Orders
In order for us to calculate any commissions owed, each order must be reported to us. You may do so in one of two ways:
Client-side Tracking Send orders to Refersion using Javascript on a "Thank You" page. Get started → |
Server-side Tracking Send orders to Refersion via a JSON webhook in your preferred server-side scripting language. Get started → |