Tracking Conversions
The system has multiple methods of tracking conversions. Specifically, an advertiser can either send an event to the system in a server-to-server approach (via postback) or a client-to-server approach (via a pixel).
Server to Server (Postback)
When a user clicks on an Ad, they are taken to the Creative Target URL. The system (by default) will add the clickId to this url as a query param, and after conversion the Advertiser should hit the Postback URL:
https://api.lincx.com/convert?clickId=$clickId&price=$value
$clickId = clickId
$value = the value of the conversion in USD
Passing the clickId to the Advertiser
Should an Advertiser require that the clickId is passed as a value of a specific query parameter of the Creative Target URL, you would need to simply append this data to the Creative Target URL as follows:
The original URL would change from this:
https://advertiser.com/offer
to this (assuming the required param was required_query_param):
https://advertiser.com/offer?required_query_param={{clickId}}
Receiving the clickId from the Advertiser
Should an Advertiser platform have macros, it's advisable to use those macros to insert the clickId and price into the Postback URL. For instance, if the Advertiser uses the required_query_param macro to store the clickId (as shown above) and value macro for the conversion price, you would enter the following Postback URL into their system:
https://api.lincx.com/convert?clickId={required_query_param}&price={value}
Each system is different, so be sure to consult your Advertiser's documentation on how to properly set up Postback URLs for their system.
Client to Server (Pixel)
Although server-to-server methods are preferred, some Advertisers may not support a Postback URL and instead require a client-side iframe pixel:
<iframe src="https://api.lincx.com/convert?adId=$adId&price=$price" style="display: none" />
$adId = The ID of the ad, see your account to find this.
$price = the value of the price in USD
Due to a reliance on the visitor's browser and cookies to send tracking information, it is less reliable than server-to-server click ID-based tracking.