Track conversions with a webhook

Created on 23 November, 2026 • Conversions, data and statistics • 18 views • 2 minutes read

Send every sale or sign-up to Notikit with a POST request to the webhook URL of your notification and use that data as variables.

The webhook is the most reliable way to record conversions: your system tells Notikit every time a sale, a sign-up or a subscription happens, and the notification shows it.

Where the URL is

  1. Open a notification of type Conversions, Conversions counter or Reviews.
  2. Go to the Data tab.
  3. Copy the URL from the Webhook trigger field.

Each notification has its own URL, in this form:

https://notikit.com/pixel-webhook/NOTIFICATION_KEY

Copy it exactly as shown in your dashboard: it may include the language code after the domain.

How to send a conversion

Send a POST request to that URL with the conversion data. You can send it as form fields or as JSON. Example:

curl --request POST \
  --url 'https://notikit.com/pixel-webhook/NOTIFICATION_KEY' \
  --header 'Content-Type: application/json' \
  --data '{"name": "Jane", "product": "Sneakers", "city": "London"}'

You choose the field names. Each field becomes available as a variable.

Using the data in the notification

In the Main tab, write the variables between curly braces inside the title, the description or the notification URL. With the example above:

  • Conversion title: {name} from {city}
  • Conversion description: Bought {product}

If a conversion is missing one of the fields, that variable is left empty.

Rules to keep in mind

  • Location. The city, country and country_code fields are stored as the location of the conversion.
  • Nested data. If you send JSON with nested objects, keys are flattened with dots. For example, {"customer": {"name": "Jane"}} is used as {customer.name}.
  • Length. Each value is trimmed to 512 characters and HTML is stripped.
  • Duplicates. If a conversion arrives with the same data as one already stored in that notification, it is discarded. City and country are not part of that comparison. Add a unique value (for example the order number) so two identical purchases count as two.
  • Privacy. The webhook stores every field it receives. Send only what you want to display: first name, product and city are enough. Do not send emails, phone numbers or addresses, and do not point the order notice of your store straight at it: route it through an automation that forwards only those fields.

Reviews through the webhook

For a Reviews notification, send title (the name of the reviewer), description (the text) and stars (1 to 5). All three are required: if one is missing, the review is not displayed. image is optional and takes the full URL of the picture.

Check that it arrived

Open the notification and go to Data: each received conversion is listed with the Webhook type. If it is not there, check Conversions are not being recorded.