Documentation
Implement Retrack
Everything you need to integrate tracking into your store, from a simple script to a full server-to-server API.
How it works
User clicks from Refunder
A unique click identifier is generated and stored together with user information. The user is sent to your tracking link.
Retrack receives the click
We log the click and redirect the user to your store, passing the click identifier and deeplink URL as parameters.
Store saves the click identifier
Your redirect page saves the click identifier in a cookie (retrack_click) and forwards the user to the deeplink.
Conversion is tracked
On the confirmation page, check for the cookie and send the event to Retrack via script or server-to-server API.
Refunder rewards the user
Refunder periodically queries Retrack for new conversions and rewards the user with cashback.
Choose a method
Script: Transactions
Place a script on your confirmation page. Quick to set up but relies on the customer's browser.
Script: Leads
Script tracking for lead-based conversions like sign-ups or form submissions.
API: Transactions Recommended
Send transactions server-side. More reliable and not affected by adblockers.
API: Leads Recommended
Send lead conversions server-side. Ideal for sign-ups, contracts, and other non-purchase events.