Enrich Existing Data With Webhooks (Use Case Example: Profit Tracking)
You can enrich data in Tracklution by utilising our webhook feature and sending the data fully server-side to Tracklution.
Enriching existing data with webhook
With Tracklution’s webhook, you can enhance existing web conversion data, such as obtaining insights from sources that may not be directly linked to the website or safeguarding sensitive information that you don't want to be available to anyone via the browser.
Enriching could mean additional contact information or for example setting value for Purchase event in case the value is not available on the web (e.g. recording profit data instead of revenue data). Read this article to learn more about Profit tracking with webhooks.
To enrich existing data successfully, Tracklution has to be able to match webhook data with existing session data. Read more about Matching webhook data with other session data.
Use Case: Profit Tracking with Webhook
Webhook enables companies to operate advertising based on profit data instead of revenue data. Profit data can be securely recorded server-side so that profit data is not made available via the web session (as it would be if recorded via tracking pixels). Here we provide an example setup of tracking profit data with Tracklution webhook.
Instead of firing a Purchase event when a purchase happens in web, you can only fire a ContactInfo tag with data for session matching, such as ´externalId´. External ID can be any unique ID for the purchase that you have available in the web session and in your eCom or other backend system, such as order ID.
<script>
tlq('set', 'ContactInfo', {externalId: '123-abc'});
</script><script>
tlq('track', 'WebPurchase');
tlq('set', 'ContactInfo', {externalId: '123-abc'});
</script>