Transmitting basket data via browser side Webhooks
Before you start
If you implement your ow tracking pixel own Webhook in the UI you will find you can use various placeholders to transmit conversion related data from the platform to your own tracking system. However, a placeholder related to basket data is not among them. This is because basket data consists of several data elements, which cannot be transmitted via one placeholder. If you follow the instructions below however, you can make sure basket data is transmitted all the same. Please note the solution with javascript is highly recommended, only use the solution with the image code if you do not have another option.
Transmitting basket data via an image code
Suppose the image pixel you have implemented is the following:
...
When you want to transmit basket data, you first need to create a parameter, for example example pid=
. This parameter needs to be filled with a placeholder called #{BASKET_VALUE_trc}
. When you have added this placeholder, your code will look more or less like this:
...
As soon as you have created this code, all you need to do is implement it following the instructions in another Webhook articlethe article on the Webhooks feature.
Transmitting basket data via javascript
Suppose the javascript you have implemented is the following:
...
To make sure the code transmits basket data, you need to start by adding a a parameter, for example example pid=
. This parameter needs to be filled with a placeholder called #{BASKET_VALUE_trc}
. When you have added this placeholder, your code will look more or less like this:
...
As soon as you have created this code, all you need to do is implement it following the instructions in another Webhook articlethe article on the Webhooks feature.