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: * Flash cookies * Browser cookies In this section we will try to explain browser cookies used by PAP4: Browser cookies are stored on domain, where you track sales/leads (called First party cookies) and also on domain, where PAP isinstalled(called Third party cookies). We use following cookies:PAPVisitorId (http://support.qualityunit.com/225217-PAPVisitorId)- stores visitor id PAPCookie_Imp_* - information about type of impression (raw or...

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...