I'm using Enhanced Ecommerce tracking in my website, but for some reason product lists views are not being registered. Here is a screenshot from analytics
When I print a listing, I set the list name in the "category" attribute of each product, like this:
ga('ec:addImpression', {
'id': 15,
'name': "Product name",
'price': "370",
'category': "Category name"
});
Then, once I printed all the products I send the pageview:
ga('send', 'pageview');
I can see that the categories are being received because they appear in the listing, but no views are registered. What am I doing wrong?
ga('ec:addProduct', {...}); ga('ec:setAction', 'click', { list: 'Category name' } ); ga('send', 'event', 'UX', 'click', 'Results');
– Federico García