Knowledgebase
What's your tracking code? Sale and lead tracking codes?
Posted by Tatyana Tavares on 01 May 2015 11:14 AM


Tracking Manual Tracking Scripts

 

Please place the appropriate code (Sales ‘or’ Lead) on your confirmation/thankyou page

 

Sales

 

<img src="http://scripts.affiliatefuture.com/AFSaleV2.asp?orderID=ORDER_ID&orderValue=ORDER_VALUE&merchant=MERCHANT_ID&payoutCodes=&offlineCode=&r=&img=yes" />

 

<script language="javascript" src="http://scripts.affiliatefuture.com/AFFunctions.js"></script>

<script language="javascript">

 

        var merchantID = MERCHANT_ID;

        var orderValue = 'ORDER_VALUE';

        var orderRef = 'ORDER_REF';

        var payoutCodes = '';

        var offlineCode = '';

 

        AFProcessSaleV2(merchantID, orderValue, orderRef,payoutCodes,offlineCode);

</script>

 

Lead

 

<img src="http://scripts.affiliatefuture.com/AFLeadV2.asp?ref=ORDER_ID&merchant=MERCHANT_ID&payoutCodes=&img=yes" />

 

<script language="javascript" src="http://scripts.affiliatefuture.com/AFFunctions.js"></script>

<script language="javascript">

 

        var merchantID = MERCHANT_ID;

        var ref = 'ORDER_REF';

        var payoutstrCodes = '';

        var offlinestrCode = '';

 

        AFProcessLeadV2(merchantID, payoutstrCodes, offlinestrCode, ref);

</script>

 

 

All you need to do is dynamically populate ‘all’ the values marked in red, and enter your advertiser ID

 

ORDER_REF– Your internal order ID (unique to individual order, you need to provide it should you need cancel a commission for an invalid order on AF interface)

ORDER_VALUE – The value of the order (not needed in the lead script)

MERCHANT_ID– static merchant ID (we will provide this to you when we create your account)

 

Should you need further help, please contact your integration manager or raise a support ticket.

(1 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments: