• My tickets
     
  • Submit ticket
     
  • Login
     

Tracking API

Home > Post Affiliate Pro > Programmers documentation > API > API v1 > Tracking API

Pap_Api_ClickTracker

It is possible to replace standard click tracking using javascript code with PHP version of click tracking. Javascript version looks like this: <script type="text/javascript" id="pap_x2s6df8d" src="https://URL_TO_PAP/scripts/trackjs.js"></script> <script type="text/javascript"> PostAffTracker.setAccountId('default1'); try { PostAffTracker.track(); } catch (err) { } </script> NOTE: URL_TO_PAP has to be replaced with the REAL URL of your installation of Post Affiliate...

Pap_Api_SaleTracker

API provides a way to register sales using PHP. This is an alternative to the General solution you can find in Integration methods. Please make sure that you include the PapApi.class.php before you use this code. Example of registering sale: include_once('PapApi.class.php'); $saleTracker = new Pap_Api_SaleTracker('URL_TO_PAP/scripts/sale.php'); $saleTracker->setAccountId('default1'); //if you need to set customer's IP use this row, otherwise is used IP recognized from $_SERVER['REMOTE_A...
System outage!
We are currently experiencing an unexpected outage which resulted in disabling some services for our customers. Our infrastructure administrators are actively working to identify the root cause of the issue and restore full functionality as soon as possible. We will continue to provide updates on our status page.
Post Affiliate Pro logo

The #1 network and affiliate marketing tracking software Manage multiple affiliate programs, track affiliate partner performance, assign commissions and issue payouts on one platform.

Post Affiliate Pro
  • Pricing
  • Customers reviews
  • Integration methods
  • Free Trial
  • Members Area
Most Popular Articles
  • Pap_Api_SaleTracker
  • Pap_Api_ClickTracker
Socials
Customer portal by LiveAgent © 2004-2026 Quality Unit, LLC. All rights reserved.
Help desk software by LiveAgent