Integration

Clicks (referrals) tracking

In this article we are going to explain what is click tracking code, why is it needed, how does it looks like and what additional options you can do with it. All the code examples are clickable and show you how the specific function is added in default code. - What is click tracking code and why is it needed (#overview) - Different code examples (#examples) - Simple click tracking code (#simple) - Asynchronous click tracking code (#asynchronous) - PHP version of the click trackin...

General sales / leads tracking

Basic sales or leads tracking explained To track sales/leads you have to use the sale tracking code. Make sure you also have the Click tracking code (https://support.qualityunit.com/793411-Click-tracking) integrated in your website (unless you use the Standard link (redirect) (https://support.qualityunit.com/991920-Redirect-links) linking method or a replicated website (https://support.qualityunit.com/856887-Site-Replication)). The exact integration depends on your shopping cart or payment...

Pixel tracking (HTML image)

If you don't want to (or you can't) use JavaScript tracking code, you can use hidden image (pixel) instead. Note that by using the hidden image the system cannot use functionality of HTML5 storage cookies, it will depend only on standard cookies and IP address. The hidden image variant of the tracking code is: <img src="https://URL_TO_PostAffiliatePro/scripts/sale.php?TotalCost=120.50&OrderID=ORD_12345XYZ&ProductID=test+product" width="1" height="1" border="0" /> The POSTBACK variant...

Available tracking parameters

Sale / lead tracking parameters in your sale tracking code you can use various parameters that wil pass additional data about the transaction. All possible tracking parameters <script id="pap_x2s6df8d" src="https://www.yoursite.com/affiliate/scripts/salejs.php" type="text/javascript"> </script> <script type="text/javascript"> var sale = PostAffTracker.createSale(); sale.setTotalCost('120.50'); sale.setFixedCost('20.50'); sale.setOrderID('ORD_12345XYZ'); sale.setProductID...

WordPress integration plugin

To integrate Post Affiliate Pro (PAP) or Post Affiliate Network (PAN) with WordPress in order to track clicks, register new WordPress users as affiliates or to track the submission of contact forms generated by 'Contact form 7 (https://wordpress.org/plugins/contact-form-7/)' WordPress module you can take use of the WordPress plugin we created. The plugin can be downloaded at: https://wordpress.org/plugins/postaffiliatepro/ NOTE: If you are going to use this plugin with a PAN installation, t...

How to integrate Post Affiliate Pro (Network) with 3rd party affiliate systems?

There have been several customers (merchants owning Post Affiliate Pro or participating in Post Affiliate Network) who are members (affiliates) of different 3rd party affiliate networks (further referenced as 'Other Network'), just like CJ, HasOffers, etc. and were wondering how they could have their own affiliate program by which they could have other affiliates to help them to promote their offers (affiliate link(s) from 3rd party affiliate networks). It is essential to clarify that such ...

S2S tracking

Sometimes our customers need to track different actions which happen only on the server side and not on the client side so they can't execute JavaScript integration code or the HTML pixel on website. In these cases they would need to use S2S tracking. There are different approaches how this can be done: - either with our PHP API with Pap_Api_SaleTracker (https://support.qualityunit.com/938257-Pap_Api_SaleTracker) or with Pap_Api_Transaction (https://support.qualityunit.com/427087-Pap_Api_Transa...

Mobile apps tracking

Nowadays people tend to use mobile apps more and more, therefore merchants are paying attention to this customer need and offer mobile apps for their products too. When it comes to tracking in this environment there are a lot of questions arising. Post Affiliate Pro and Post Affiliate Network offer integration with AppsFlyer which helps with mobile app tracking a lot. Here is a guidance on how to make it all working with help of AppsFlyer. In general, the integration is to setup redirect links...