This is a short guide on what you need to know
Tracking pixel HTML type does not support <script>
tags. So the most useful case is with <img>
tag:
<img
border="0" width="1" height="1"
src="https://t.adcell.com/t/track?pid=8193&eventid=10435&referenz=ABC_123&betrag=123.45"
>
If you have <script>
tag use Javascript type filed and use this snippet:
var script = document.createElement("script");
script.type = "text/javascript";
// change url
script.src = "https://t.adcell.com/js/trad.js";
document.head.appendChild(script);
To add information about an order use the following tags:
[event_date] - order event date
[account_slug] - account slug
[discount_code] - used discount code
[transaction_id] - order uuid
[product_name] - order number
[currency_code] - currency code
[total] - order total amount
Example:
<img src="https://t.adcell.com/?referenz=[transaction_id]&betrag=[total]">
This will be populated to:
<img src="https://t.adcell.com/?referenz=order-uuid&betrag=123.45">
When will the scripts be executed?
Either on the initial website load (Javascript and HTML scripts) or once a user enters a ticket download screen (Javascript).