Piggybacking
Piggybacking is a way to utilize a pageView or order script trigger to inject a custom piggybacking script.
In order to use piggybacking you will have to provide us with your piggybacking script. The script will then be triggered by either your pageView tracking script or your order tracking script.
To access the parameters that pageView or order provides, use window.trackingInput.
Examples
This is your example piggybacking script
<script type="text/javascript">
console.log("PageView piggy backing invoked!", window.trackingInput)
</script>
This is the output of the window.trackingInput for an example tracking script
Last modified: Mon Sep 23 2024 11:48:54 GMT+0200 (Central European Summer Time)