Webhook
Basics about webook

Tracklution webhook - Basics

Tracklution's webhook provides a seamless and efficient way to enrich data with information from various external systems, including CRM, booking systems, billing systems, ERP, and calling systems.

Webhook enables to effortlessly bring additional tracking data to Tracklution, such as offline conversions and additional conversion data. Whether it's obtaining insights from sources that may not be directly linked to the website or safeguarding sensitive information, Tracklution's webhook offers a user-friendly and powerful solution for optimising data flow.

Basic process

  1. Decide if you want to enrich already existing data in Tracklution or send new events to Tracklution with Webhooks.
  2. Navigate to the external systems Webhook settings and follow the instructions of the external system on how to set up a webhook. Follow these instructions if you want to send data from Stripe.
  3. Once needed, get Tracklution Webhook Endpoint URL from your Tracklution account under "Webhook":

Webhook Key

  1. Edit the Webhook Endpoint URL query parameters according to your needs (more on these under "Webhook query parameters" below)
  2. Continue with the external system's instructions to finish up the set up.
  3. Once the setup is finished, you will be able to see successful webhook import events at the end of the "Webhook" -page in your Tracklution account (screenshot in step 3).

Webhook Endpoint URL

The URL for the Webhook endpoint is:

https://tracking.leadspark.io/collect/hook

Webhook query parameters

When making a GET request to the endpoint, following query parameters need to be set:

ParameterDescriptionRequired
kYour Tracking Container Keyyes
trackIf you want to record an event, e.g. “Purchase” or “BookingComplete”, send the event name in this field. Without ‘track’ parameter the incoming data is handled as additional information and Tracklution tries to match it into an existing session data without adding a new event to the session.no
valueIf you are bringing in a Purchase event with the ‘track’ parameter, and you want a value being recorded to this event, insert the value in this fieldno
currencyIf you are bringing in a Purchase event with the ‘track’ parameter including ‘value’ parameter, insert currency in this fieldIf ‘value’ parameter is used, then required
urlThe URL of the page where event happened or additional data was obtainedno
emailEmailno
phoneNumberPhone numberno
firstNameFirst nameno
lastNameLast nameno
birthdayBirthday, example input: 1985-06-17no
genderExample input: ‘male’ or ‘female’no
addressStreet addressno
postCodePostal codeno
cityCityno
countryCountryno
externalIdExternal ID that could be any unique identifierno
gclidGoogle Click ID, if availableno
fbclidMeta Click ID, if availableno

The Tracking Container Key is a unique identifier for your Tracking Container. You can find it on the "Your Tracking Containers" view in the Tracking section of the Tracklution Dashboard.

Request examples

⚠️

Remember to set up Webhooks according to our onboarding guide inside your Tracking Container. The examples below include test data only for demonstration purposes.

Webhook Request