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

Version 1 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 and send that data to a 3rd party.

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