We have the following snippet in order to track cart in our website using the MC Collect Code:
<head>
<script type="text/javascript" async src="https://REMOVED.collect.igodigital.com/collect.js"></script>
</head>
<body>
<script>
_etmc.push(['setOrgId', 'REMOVED']);
_etmc.push(['trackCart', {
'cart': [
{
'item': 'A',
'quantity': '5',
'price': '1',
'unique_id': '1'
},
{
'item': 'A',
'quantity': '5 ,
'price': '1' ,
'unique_id': '2'
}
]
}]);
</script>
</body>
However, when going to the Status tab in email recommendations Track Cart Activity remains 0.
Please help what is wrong the code above, Thanks Barak