How to

Implement Retrack

This page explains the process of implementing the different tracking options for Retrack. Let's start off with a short summarize of the entire user journey.

  1. A user initiates a click to a store from Refunder, who generates a unique click identifier and stores it in the database together with the user information. Each store has it's own unique tracking link which the user is redirected to.
  2. Retrack receives the user together with information about the click identifier and the target store. We save it in our database and redirects the user to the target store. The URL is populated with the click identifier and a deeplink URL.
  3. The target store receives the user together with a click identifier and deeplink URL. The click identifier is saved in a cookie and the user is then redirected to the deeplink URL.
  4. Whenever a purchase is made the store checks if the user came from Retrack. If so, either display a tracking script on the order confirmation page or upload the transaction via API to Retrack. The purchase is tracked to the user with the click identifier you saved earlier.
  5. Refunder periodically queries Retrack for new purchases and will reward the user with cashback once the purchase is registered.

Which tracking to choose

Retrack offers two main tracking techiques - script based and server-to-server.

Script based tracking

This is the traditional tracking where a script is placed on the order confirmation page that sends information back to Retrack. It's probably the easiest and fastest implementation but it's unfortunately vulnerable to adblock or other script blockers.

Click here to implement script tracking for transactions.

Click here to implement script tracking for leads.

Server-to-Server tracking

Instead of relying on the customer browser to send the tracking correctly, you can choose to send the information directly from your server to our server. This is done via a API that is more resilient and offers a greater flexibility. This is the best way to implement Retrack.

Click here to implement server-to-server tracking for transactions.

Click here to implement server-to-server tracking for leads.