Empower your affiliates with our coupons feature, designed to enhance their promotional efforts. This feature enables your affiliates to redeem coupons assigned to them. When a customer redeems an affiliate's coupon code during the checkout process, you are able to track the attribution of the coupon conversion to the affiliate.
Various integrations can be used to set up tracking of coupons - via Zapier, via JS tracking codes, and via API.
See our pricing page for the coupon amount limits for each pricing plan.
Add coupons
Coupons can be added manually to individual affiliates. In order to add a coupon code for an affiliate, navigate to the menu Affiliates, and submenu Coupons.
In order to create a coupon, use the Add new coupon button, fill in the following information, and confirm the coupon creation.
Code - Coupon code your affiliate will be promoting.
Referral ID - Affiliate for which the coupon will be created.
Offer - Offer for which the coupon should be attributed.
Status - If the coupon should be active right away or you want to activate it later.
Redeem a coupon manually
In order to redeem a coupon manually, navigate to the conversion report and use the Manually redeem coupon button and fill in the following information.
Code - Coupon code you want to use (aims to an affiliate and offer).
Conversion type - Conversion type for which you want to redeem the coupon.
Amount - Amount from which the commission will be counted in case of dynamic payout on the offer; if the conversion type is set to fixed, the amount is not required.
Country - Country of the customer who redeemed the coupon; if you don't know the country and have the offer set to global tracking, set it to any value.
Status - Status with which the conversion will be created.
External ID - Optional parameter of External ID.
Customer ID - Optional parameter of Customer ID.
View redeemed coupons
Redeemed coupons can be found in two places - in the Conversion report and the Coupon overview report in the menu Reports.
Keep in mind that if you don't have the feature on your plan, then you won't see the Coupon overview report.
Tracking coupons via Zapier
In order to track coupons via Zapier, use Trackdesk action Create Coupon Conversion.
Fill in the following information in the Zap action.
Coupon code - Coupon code you want to use (aims to an affiliate and offer).
Conversion status - Status with which the conversion will be created.
Revenue origin ID - Your Revenue origin ID; it can be found in the Settings page, at the bottom of the page.
Conversion type code - Conversion type for which you want to redeem the coupon.
Country of customer - The 2 character ISO 3166-1 alpha-2 shortcut for the country; If you don't have a country available, use a placeholder XX.
Amount - Amount from which the commission will be counted in case of a dynamic payout on the offer; if the conversion type is set to fixed, the amount is not required.
And external parameters for your values - External ID, Customer ID, Adv S1 - S5 parameters.
Tracking coupons via JS code
In order to redeem a coupon via JS code, you will need to paste the following code on the thank you page. On the thank you page, you will be required to fill in used coupons into the code.
In case you have fixed payouts set on the Offer, please use the following code:
<!-- Trackdesk tracker begin -->
<script async src="//cdn.trackdesk.com/tracking.js"></script>
<script>
(function(t,d,k){(t[k]=t[k]||[]).push(d);t[d]=t[d]||t[k].f||function(){(t[d].q=t[d].q||[]).push(arguments)}})(window,"trackdesk","TrackdeskObject");
trackdesk('YOUR_TENANT_ID', 'conversion', {
couponCodes: ["YOUR_COUPON_CODE"],
revenueOriginId: 'YOUR_REVENUE_ORIGIN_ID',
conversionType: 'YOUR_SELECTED_CONVERSION_TYPE'
});
</script>
<!-- Trackdesk tracker end -->
Make sure to replace YOUR_TENANT_ID with your actual Tenant ID. You can find your Tenant ID in the settings page, at the bottom of the page.
Make sure to replace YOUR_COUPON_CODE with the value of the redeemed coupon.
Make sure to replace YOUR_REVENUE_ORIGIN_ID with your actual Revenue origin ID. You can find your Revenue origin ID in the settings page, at the bottom of the page.
Make sure to replace YOUR_SELECTED_CONVERSION_TYPE with the conversion type you want the coupon to be created with.
In case you have dynamic payouts set on the Offer, please use following code:
<!-- Trackdesk tracker begin -->
<script async src="//cdn.trackdesk.com/tracking.js"></script>
<script>
(function(t,d,k){(t[k]=t[k]||[]).push(d);t[d]=t[d]||t[k].f||function(){(t[d].q=t[d].q||[]).push(arguments)}})(window,"trackdesk","TrackdeskObject");
trackdesk('YOUR_TENANT_ID', 'conversion', {
couponCodes: ["YOUR_COUPON_CODE"],
revenueOriginId: 'YOUR_REVENUE_ORIGIN_ID',
conversionType: 'YOUR_SELECTED_CONVERSION_TYPE',
amount: {
value: 'YOUR_ORDER_AMOUNT'
}
});
</script>
<!-- Trackdesk tracker end -->
Make sure to replace YOUR_TENANT_ID with your actual Tenant ID. You can find your Tenant ID in the settings page, at the bottom of the page.
Make sure to replace YOUR_COUPON_CODE with the value of the redeemed coupon.
Make sure to replace YOUR_REVENUE_ORIGIN_ID with your actual Revenue origin ID. You can find your Revenue origin ID in the settings page, at the bottom of the page.
Make sure to replace YOUR_SELECTED_CONVERSION_TYPE with the conversion type you want the coupon to be created with.
Make sure to replace YOUR_ORDER_AMOUNT with the amount you want to prorate to the system.
Tracking coupons via API
In order to track Coupon conversions use the endpoint POST /api/node/conversions/v1/coupon. Keep in mind that you need to fill in a country of the customer in the format of ISO 3166-1 alpha-2 (e.g. US). If you don't have a country available, use a placeholder XX.