This script needs to be fired once every product page view. Again, the variables ({{name}}, {{sku}}, etc.) mentioned below need to be dynamically filled with the data of the item.
<script type="text/javascript">
_paq.push(['setEcommerceView',
"{{sku}}",
"{{name}}",
"{{categoryname}}",
{{price}},
]);
_paq.push(['trackPageView']);
</script>
Product view script example
<script>
_paq.push(['setEcommerceView',
"9780786706211",
"Endurance: Shackleton's Incredible Voyage",
"Adventure Books",
20.11
]);
_paq.push(['trackPageView']);
</script>