• My tickets
     
  • Submit ticket
     
  • Login
     

Tracking API

Home > Post Affiliate Pro > Programmers documentation > API > 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. In case you have click tracking code on different domain then sale tracking code, then make sure you pass the PAPVisitorId cookie content to the sale tracking code. Use then setVisitorId($visitorId) in such case. $saleTracker->setVisitorId($visitorId); Example of registering sal...
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.

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