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 homeTo 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 uses javascript that you should put to your order confirmation page.
The general tracking code is:<script id="pap_x2s6df8d" src="https://chatnik.com/affiliate/scripts/salejs.php" type="text/javascript"> </script> <script type="text/javascript"> var sale = PostAffTracker.createSale(); sale.setTotalCost('120.50'); sale.setOrderID('ORD_12345XYZ'); sale.setProductID('test product'); PostAffTracker.register(); </script>
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.
<img src="https://chatnik.com/affiliate/scripts/sale.php?TotalCost=120.50&OrderID=ORD_12345XYZ&ProductID=test+product" width="1" height="1"">Variables you can use in hidden image are: