You can include a transaction ID in your conversion pixel tag. A transaction ID is an alphanumeric code, like an SKU or an order number, that you associate with a conversion pixel for tracking and reporting purposes.
You define the transaction ID with the key "transactionId," which you add to the tracking URL:
?transactionId=[ADD-YOUR-TRANSACTION-ID-HERE]
A transaction ID can include letters or numbers, but no symbols. For example:
?transactionId=ABCD1234
Example 1: Image Pixel Tag
Here is an example of how you use this key in a tracking image pixel tag:
Without transaction ID:
<img src="//clickserv.sitescout.com/conv/144188c2bb62a178" width="1" height="1" style="position: absolute; left: -150px;" />
With transaction ID:
<img src="//clickserv.sitescout.com/conv/144188c2bb62a178?transactionId=ABCD1234" width="1" height="1" style="position: absolute; left: -150px;" />
Example 2: Javascript Tag
Without transaction ID:
<script type="text/javascript">var ssaUrl = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'clickserv.sitescout.com/conv/144188c2bb62a178';new Image().src = ssaUrl; (function(d) { var syncUrl = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'pixel.sitescout.com/dmp/asyncPixelSync'; var iframe = d.createElement('iframe'); (iframe.frameElement || iframe).style.cssText = "width: 0; height: 0; border: 0;"; iframe.src = "javascript:false"; d.body.appendChild(iframe); var doc = iframe.contentWindow.document; doc.open().write('<body onload="window.location.href=\''+syncUrl+'\'">'); doc.close(); })(document); </script>
With transaction ID:
<script type="text/javascript">var ssaUrl = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'clickserv.sitescout.com/conv/144188c2bb62a178?transactionId=ABCD1234';new Image().src = ssaUrl; (function(d) { var syncUrl = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'pixel.sitescout.com/dmp/asyncPixelSync'; var iframe = d.createElement('iframe'); (iframe.frameElement || iframe).style.cssText = "width: 0; height: 0; border: 0;"; iframe.src = "javascript:false"; d.body.appendChild(iframe); var doc = iframe.contentWindow.document; doc.open().write('<body onload="window.location.href=\''+syncUrl+'\'">'); doc.close(); })(document); </script>
Note: You can use transaction IDs and Dynamic Revenue tracking in the same tag:
<img src="//clickserv.sitescout.com/conv/9de930f4b1f38a29/46.12?transactionId=ABCD1234" width="1" height="1" style="position: absolute; left: -150px;" />
For information about tracking transaction IDs for universal pixel, see Passing Data Objects in the Universal Pixel Script article.