Programmers documentation

Cookie information - PAPVisitorId

When a customer clicks on an affiliate [link/banner](https://support.qualityunit.com/311928-Adding-Banners-and-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](https://support.qualityunit.com/307164-Site-Replication)), the click tracking code sends a request to the server which replies with a PAPVisitorId (a unique 32-character-long alpha-numeric string). This PAPVisitorId is...

Cookies created by Post Affiliate Pro

Post Affiliate Pro creates more types of [cookies](https://support.qualityunit.com/830633-Cookie-settings): - Browser cookies (1st and 3rd party) - are stored on a domain, where your clicks tracking code executes (called 'First party' cookies) and also on the domain where Post Affiliate Pro is installed (called 'Third party' cookies). - HTML 5 local storage cookie The following cookies are created by Post Affiliate Pro, we can divide them into two categories: 1. Tracking cookies - PAPVisitor...

C# .NET communication with API

Post Affiliate Pro API is PHP based but you can access it from other programming languages too. The only requirement is to implement HTTP POST request correctly as well as encode JSON request to our server correctly. Here is an example of such a request using C# in .Net (simple console application): // // EXAMPLE OF LOGIN REQUEST // using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.IO; namespace ConsoleApplication1 { ...
×