Programmers documentation

PAPVisitorId

When a customer clicks on an affiliate link/banner (https://www.postaffiliatepro.com/introduction-videos/adding-banners-links/) and lands on your site integrated with the click tracking (https://support.qualityunit.com/417400-Clicks-referrals-tracking) code (or lands on a replicated site (http://support.qualityunit.com/307164-Site-Replication)), the click tracking code sends a request to the server which replies a PAPVisitorId (a unique 32-character-long alpha-numeric string). This PAPVisitorI...

Cookies created by Post Affiliate Pro

Post Affiliate Pro registers more types of cookies (https://support.qualityunit.com/830633-Cookie-settings): * Flash cookies * Browser cookies * HTML 5 local storage cookie In this section we will try to explain browser cookies used by PAP: Browser cookies are stored on domain, where your click tracking code executes (called First party cookies) and also on domain, where PAP is installed (called Third party cookies). **We create the following cookies:** PAPVisitorId - stores vi...

C# .NET communication with API

You can access API of Post Affiliate Pro also from other programming languages. Only requirement is to implement correctly HTTP POST request and encode correctly JSON request to our server. Example of such request using C# in .Net (simple console application) follows: // // EXAMPLE OF LOGIN REQUEST // using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.IO; namespace ConsoleApplication1 { class Program { static void Main(stri...