the affiliate marketing network
Advanced Tracking Code
The HTML code for your Advanced Tracking Code is below. You need to append varous parameters to the end of both URLs within the HTML which gives us the nessary order information. The parameters you need to add are explained in the table below. The required parameters are &MerchantID=, &SaleID= and &Purchases= the other parameters are all optional. Please read all the tracking code parameters below and look at the examples given at the end of this page to understand better what you need to do.

<script language=JavaScript src="https://portgk.com/create-sale?client=java&MerchantID=000&SaleID=Your-Sale-ID&Purchases=Your-Purchases"></script>
<noscript><img src="https://portgk.com/create-sale?client=img&MerchantID=000&SaleID=Your-Sale-ID&Purchases=Your-Purchases" width="10" height="10" border="0"></noscript>
On the last stage of your order process, normally the "thank you" or "order complete" page you need to update the server files to include our tracking code and you need to update &MerchantID=000, &SaleID=Your-Sale-ID and &Purchases=Your-Purchases.

&MerchantID=000: Please ensure your correct Merchant ID is added to the tracking code. The above HTML code and all other examples on this page uses the Merchant ID 000 - be sure to replace 000 with your Merchant ID.

&SaleID=Your-Sale-ID: You would put the part of your script that generates your Sales ID / Order Number dynamically in to the Your-Sale-ID part of the tracking code.

&Purchases=Your-Purchases: You would put the part of your script that generates what your customers order breakdown is dynamically in to the Your-Purchases part of the tracking code.

Please see examples below on how it should look.

Tracking Code Parameters
Parameters Name Description
MerchantID
Your unique Paid On Results Merchant ID
Syntax: Numeric string
Your Merchant ID: 123
Required: YES
SaleID
Unique id or reference for the order or purchase by the customer, such as the order number given to the customer. In case of lead based programs this should be a unique reference for the registation.
Syntax: Text string up to 200 characters
Note: This value has to be unique for each transaction or registation.
Required: YES
SaleData
Optional field to send any additional data about this order which is reported to you via our Merchant Control Panel. The information is not shared with Affiliate.
Syntax: Text string up to 200 characters
Required: NO
Purchases
A breakdown of the products purchased by the customer and the purchase value of each item. Multiple purchases are separated using a pipe (|) or star (*). Alternatively this field can contain just a comma separated list of products IDs, and separate parameters are added to the query string for each item passing the products value.
Syntax: Click here to view syntax and examples
Required: YES
VoucherCode
Optional. The voucher or discount code was used by the customer. If supplied we can enable voucher based reporting in our Voucher Manager. For more information please click here to download our Voucher Manager PDF.
Syntax: Text string
Required: NO
OrderDiscount
Optional. The value of any discount given to the customer. This is subtracted from the total order value we calculated from adding up the value of each item in sent in the product breakdown, before we work out the Affiliate Commission. If any discount has already been applied to the product values this option should not be used.
Syntax: Numeric value
Required: NO
ExcludeVAT
Optional. If used we subtract the UK standard VAT rate of 20% from the values of the products sent in the PURCHASES parameters before working out the Affiliate Commission. This should not be used if the item values sent are already exclusive of VAT.
Syntax: YES | NO
Required: NO

Examples
Customer places an order with the order number / sale ID 123456 and they purchased product ID ABCDE which costs £14.99. The Affiliate Commission will be calculated based on the order value of £14.99
<script language=JavaScript src="https://portgk.com/create-sale?client=java&MerchantID=000&SaleID=123456&Purchases=ABCDE,14.99"></script>
<noscript><img src="https://portgk.com/create-sale?client=img&MerchantID=000&SaleID=123456&Purchases=ABCDE,14.99" width="10" height="10" border="0"></noscript>
Customer places an order with the order number / sale ID 123456 and they purchased product ID ABCDE which costs £14.99, using a voucher code of 10PERCENTOFF. The Affiliate Commission will be calculated based on the order value of £14.99
<script language=JavaScript src="https://portgk.com/create-sale?client=java&MerchantID=000&SaleID=123456&Purchases=ABCDE,14.99&VoucherCode=10PERCENTOFF"></script>
<noscript><img src="https://portgk.com/create-sale?client=img&MerchantID=000&SaleID=123456&Purchases=ABCDE,14.99&VoucherCode=10PERCENTOFF" width="10" height="10" border="0"></noscript>
Customer places an order with the order number / sale ID 123456 and they purchased product ID ABCDE which costs £100.00. You want to pay Affiliates based on the VAT-exclusive order value of £83.33
<script language=JavaScript src="https://portgk.com/create-sale?client=java&MerchantID=000&SaleID=123456&Purchases=ABCDE,100.00&ExcludeVAT=YES"></script>
<noscript><img src="https://portgk.com/create-sale?client=img&MerchantID=000&SaleID=123456&Purchases=ABCDE,100.00&ExcludeVAT=YES" width="10" height="10" border="0"></noscript>
To learn the syntax and for further examples of the PURCHASES parameters please click here
Paid On Results Ltd. © 2012. All rights reserved.   Paid On Results is a trademark of Paid On Results Ltd.
Paid On Results Disclaimer and Legal Information.   Paid On Results Privacy Statement.   Paid On Results Terms and Conditions.