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

alt text

Last modified: Wed Apr 27 2016 11:20:06 GMT+0200 (CEST)