You can use a third-party affiliate network or tracking platform to manage your affiliate sales.
To do this, you’ll need to send conversion data back to your platform to calculate commissions for your affiliates. The data required by your affiliate platform will depend on your provider and your own tracking preferences. As a minimum however, they will typically require:
- A unique transaction ID
- The value of the transaction (this is usually net value, and may need to be sent in a fixed currency)
If you have a success page redirect then it is recommended to fire your conversion event on the thank you page to ensure that the redirect does not interfere with your tracking pixel.
If you do not have a success page redirect then tracking code can be run within the
successCallback block in your
Order information can be retrieved either from the checkout data in scope in the
successCallback block, or in some cases by polling the order information API after the checkout has completed.
We recommend you send the checkout hash as the unique transaction ID to your tracking platform. This hash can also be provided to the Order Details API to retrieve further details in the thank you page.
To use success callback data in a thank you page instead of within your store page, the fields below can be passed as URL parameters or session storage data to the new page.
- Checkout hash -
- Gross checkout value in vendor default currency -
- Product quantity -
- Product name -
- Product ID -
Some platforms may instead require net prices or prices in the sale currency.
Many affiliate platforms support sending conversion data via a server to server (S2S) call. To implement this, we’d recommend enabling the
payment_succeeded webhook and sending a request from your server on receipt of a new transaction alert.
See the links below for a range of popular third party options for affiliate network management and tracking, and minimal example integrations.
Want us to add your third party network or tracker? Get in touch here.