The basic principle is the insertion of web tracking tags in certain pages of your website.
There are two types of tags:
Apply the following steps to set up these tags:
Identify the pages you wish to track and determine their type (WEB or TRANSACTION).
Determine which additional information you wish to collect, and extend the nms:webTrackingLog schema with the description of this information. By default, this schema can store the transaction amounts and number of items per transaction.
Creating the web tracking tags. There are two ways of doing this:
Add these tags statically or dynamically in the pages you wish to track.
All WEB-type tags can be added as they are to the pages of your site. TRANSACTION tags must be modified or added dynamically in order to contain the additional information (amount, items, etc.).
Example:
<script type="text/javascript">
var _f = "nmsWebTracking"
var _t = window.location.href.match(/.*://[^/]*(/[^?#&]*)/)[1] + "|w|" + _f
document.write("<img height='0' width='0' alt='' src='" +
window.location.protocol + "//tsupport/r/" +
Math.random().toString() + "?tagid=" + escape(_t) + "'/>")
</script>