I am new to AspDotNetStorefront. I was assigned to integrate a customer's AspDotNetStorefront website with analytics.nextopia.net. If someone could point to where I should start. Here is the instruction in the request.
Please import the below code into the website "Thank You" page in order to allow us to track whick key search terms convert through search bar function.
Advanced Purchase Logging:
<form style="display:none;" name="nxtpform">
<textarea id="nxtpta">
[order-id]|[affiliation]|[total]|[tax]|[shipping]|[city]|[state]|[country]
[order-id]|[sku]|[productname]|[category]|[price]|[quantity]
[order-id]|[sku]|[productname]|[category]|[price]|[quantity]
[order-id]|[sku]|[productname]|[category]|[price]|[quantity]...
</textarea>
<script language = "javascript">
function nxtsubmit_purchase() {
var nxturl = "https://analytics.nextopia.net/p.php";
var nxty = "guid here";
var nxtz = "1";
info = new Image(1, 1);
info.src = nxturl + "?y=" + nxty + "&z=" + nxtz + "&x=" + escape(document.nxtpform.nxtpta.value);
}
nxtsubmit_purchase();
</script>