Sample sale / lead tracking

this page simulates your order confirmation or "thank you for order" page. It contains hidden sale tracking code that notifies the affiliate system about the sale.

Back to Samples & tests home

Sales / leads tracking explained

To track leads and sales, you have to use sale tracking code. The exact integration depends on your shopping cart or payment gateway, so refer to our documentation for this.

General tracking method

General tracking method uses javascript that you should put to your order confirmation page.

The general tracking code is:
<script id="pap_x2s6df8d" src="" type="text/javascript">
<script type="text/javascript">
PostAffTracker.setAccountId('default1'); //use this line for PAN account, set here your account Id instead of default1
var sale = PostAffTracker.createSale();
sale.setProductID('test product');

Hidden image example

If you don't want to use JavaScript tracking code, you can use also hidden image (hidden pixel tracking) version.
Note that by using hidden the system cannot use functionality of Flash cookies, it will depend only on standard cookies and IP address.

The hidden image variant of the tracking code above is:
<img src="" width="1" height="1"">

Variables you can use in hidden image are:

TotalCost, OrderID, ProductID, data1, data2, data3, data4, data5, AffiliateID, CampaignID, ChannelID, Commission, PStatus, Currency, FixedCost, CustomCommissionNextTiersFromCampaign and DoNotDeleteCookies