Tracking Installation: Ref Value is Not Unique Solution

If you are being told that your `ref` value is not unique this means that in your tracking installation you are not populating the variable 'ref' with a changing value.

It is good practice to populate the 'ref' variable in your tracking code with a uniquely identifiable value such as an order number. This will help you to identify why commission has been paid out and what for. However we understand that this is not always practical.

The solution if you can not populate the 'ref' variable uniquely is to do the following with your tracking code.

Replace the line:

var ref="$your_unique_reference"; //Your unique reference

With the line:

var ref=Math.floor(Math.random()*11);

 

This will ensure that each time your tracking script is executed a unique value is sent.

Need more help?

Support Chat
E-mail
Call us
0844 800 9672