Kelkoo Group’s Postback for Sales service enables you to receive daily conversion data via server-to-server postbacks. This feature is designed to give publishers visibility into sales performance by delivering conversion events in a structured format once per day.
This guide outlines how to integrate with the service, what to expect, and the variables available to you.
What is a postback?
A postback is a server-side request that we send to your system each day for each recorded conversion. This allows you to ingest Kelkoo sale data directly into your reporting or optimisation tools.
Please note: This is a daily batch service – postbacks are not sent in real-time.
How it works
You provide us with:
-
HTTP Method: Either POST or GET
-
Postback URL: A templated URL containing variable placeholders
-
Optional POST Body: For POST requests, a structured payload
-
Optional Headers: Any headers you require for authentication, etc.
Example: POST configuration
Below is an example of a POST setup with a JSON payload.
{
"method": "POST",
"url_template": "https://your-server.com/conversion?saleId=${saleId}&saleValueInEur=${saleValueInEur}",
"body_template": {
"saleId": "${saleId}",
"saleValueInEur": "${saleValueInEur}",
"leadId": "${leadId}",
"merchantId": "${merchantId}",
"updateDateTime": "${updateDateTime}",
"saleDateTime": "${saleDateTime}",
"orderId": "${orderId}",
"country": "${country}",
"clickId": "${clickId}",
"publisherClickId": "${publisherClickId}",
"publisherSubId": "${publisherSubId}",
"custom1": "${custom1}",
"custom2": "${custom2}",
"custom3": "${custom3}",
"userDevice": "${userDevice}",
"userBrowser": "${userBrowser}",
"userBrowserVersion": "${userBrowserVersion}",
"userOperatingSystem": "${userOperatingSystem}",
"userOperatingSystemVersion": "${userOperatingSystemVersion}",
"userAgent": "${userAgent}"
},
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
Example: GET configuration
Replace with your own postback URL and insert variables of your choice:
https://track.yourdomain.com/go.php?id=${saleId}&salesAmount=${saleValue}&clickId=${clickId}
Available variables
You can include any of the following variables using the ${variable_name} format:
|
Variable name |
Description |
|---|---|
|
|
Kelkoo sale ID |
|
|
Sale amount in local currency |
|
|
Sale amount in EUR |
|
|
Sale amount in GBP |
|
|
Sale amount in USD |
|
|
Kelkoo lead ID |
|
|
Kelkoo merchant ID |
|
|
Timestamp of the last update to the sale record |
|
|
Timestamp when the sale occurred |
|
|
Order ID as provided by the merchant |
|
|
Two-letter country code (e.g. FR, DE, UK) |
|
|
Internal Kelkoo click identifier |
|
|
Publisher’s click ID passed at click time by publisher |
|
|
Sub-identifier passed at click time by publisher |
|
|
Custom parameter passed at click time by publisher |
|
|
Custom parameter passed at click time by publisher |
|
|
Custom parameter passed at click time by publisher |
|
|
Device type (e.g. desktop, mobile) |
|
|
Name of the user's browser (e.g. Chrome, Safari) |
|
|
Browser version number |
|
|
Name of the user's OS (e.g. Windows, Android) |
|
|
Operating system version |
|
|
Full user-agent string |
Please contact your account manager to set this up.