Get Conversion Tracking Pixel

Why Get a Conversion Tracking Pixel?

Occasionally, you may wish to track conversions for an advertiser's campaign using cookies. The Get Conversion Tracking Pixel API endpoint enables you to return a conversion tracking pixel wrapped in JavaScript that you can place on an HTML page to track these conversions.

When the JavaScript is loaded, Kevel will track the conversion for the creative, flight, campaign, and advertiser that referred the user to the conversion page.

API Syntax

When using the Get Conversion Tracking Pixel API endpoint, it is important to understand the syntax required to make the request. Because the Kevel API is a RESTful API, there is a specific request format that must be followed to ensure the endpoint can process the request. The format is:

GET https://api.kevel.co/v1/advertiser/{AdvertiserID}/trackingCode

Where:

  • GET - the type of API request being made.
  • https://api.kevel.co - the URL for the request.
  • v1 - the API version.
  • advertiser - the API endpoint being called.
  • AdvertiserID - the ID associated with the advertiser.
  • trackingCode - the pixel code use for the conversion tracking.
Language
Credentials
Header