Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

CheckoutChamp connects natively with several Ad tracking platforms, however you may find the need to run a script on your page which will grab data from the session which can then be sent out to a 3rd party from the page itself.

The order’s session data will be stored within the orderData Object.

Here is an example script which will check the orderData Object for the order’s total amount:

<script>
var orderData = JSON.parse(sessionStorage.getItem("orderData"));
if(orderData) {
orderTotal: orderData.totalAmount
}
</script>
  • No labels