I am trying to improve my analytics implementation by including Enhanced Ecommerce data, but I can't seam to get it to work.
At first I am checking the product listings, and I have included the following code (taken from my View Source) - I've obviously changed my UA ID for this example.
ga('create', 'UA-MYID', 'auto');
ga('require', 'ec');
ga('ec:addImpression', {'id': 'SKU01238','name': 'Aspire Atlantis','category': 'Sub-Ohm Tanks','brand': 'Aspire','list': 'Search Results'});
ga('ec:addImpression', {'id': 'SKU01346','name': 'Aspire Triton','category': 'Sub-Ohm Tanks','brand': 'Aspire','list': 'Search Results'});
ga('ec:addImpression', {'id': 'SKU01476','name': 'Aspire Triton 2','category': 'Sub-Ohm Tanks','brand': 'Aspire','list': 'Search Results'});
ga('ec:addImpression', {'id': 'SKU01427','name': 'Cyclone Tank By Sense','category': 'Sub-Ohm Tanks','brand': 'Sense','list': 'Search Results'});
ga('ec:addImpression', {'id': 'SKU01485','name': 'Eleaf Melo 2','category': 'Sub-Ohm Tanks','brand': 'Eleaf','list': 'Search Results'});
ga('ec:addImpression', {'id': 'SKU01404','name': 'Herakles Hydra By Sense','category': 'Sub-Ohm Tanks','brand': 'Sense','list': 'Search Results'});
ga('ec:addImpression', {'id': 'SKU01529','name': 'Herakles Plus By Sense','category': 'Sub-Ohm Tanks','brand': 'Sense','list': 'Search Results'});
ga('ec:addImpression', {'id': 'SKU01320','name': 'Herakles Tank By Sense','category': 'Sub-Ohm Tanks','brand': 'Sense','list': 'Search Results'});
ga('ec:addImpression', {'id': 'SKU01533','name': 'Innokin Isub Apex Sub Ohm Tank','category': 'Sub-Ohm Tanks','brand': 'Innokin','list': 'Search Results'});
ga('ec:addImpression', {'id': 'SKU01303','name': 'Innokin Isub G Tank','category': 'Sub-Ohm Tanks','brand': 'Innokin','list': 'Search Results'});
ga('ec:addImpression', {'id': 'SKU01304','name': 'Innokin Isub Tank','category': 'Sub-Ohm Tanks','brand': 'Innokin','list': 'Search Results'});
ga('ec:addImpression', {'id': 'SKU01026','name': 'Kanger Subtank Mini','category': 'Sub-Ohm Tanks','brand': 'Kangertech','list': 'Search Results'});
ga('ec:addImpression', {'id': 'SKU01027','name': 'Kanger Subtank Nano','category': 'Sub-Ohm Tanks','brand': 'Kangertech','list': 'Search Results'});
ga('ec:addImpression', {'id': 'SKU01190','name': 'Kanger Subtank Plus','category': 'Sub-Ohm Tanks','brand': 'Kangertech','list': 'Search Results'});
ga('ec:addImpression', {'id': 'SKU01444','name': 'Morph Tank','category': 'Sub-Ohm Tanks','brand': '','list': 'Search Results'});
ga('ec:addImpression', {'id': 'SKU01409','name': 'Smok Tfv4 Full Kit','category': 'Sub-Ohm Tanks','brand': 'SMOK','list': 'Search Results'});
ga('send', 'pageview');
I've also tried removing all the ec:addImpression's and placed Google's own example code in and I still can't see anything updated in my Google Analytics Product List Performance page.
Otherwise my Google Tag Assistant (for Chrome) is showing that the Pageview Request is being sent fine and I can see my location on the dashboard.
Can anyone shed some light on this for me?
Thanks
Likely the data hasn't been processed as the code appears to be OK, having verified with GA Debugger and also in the network console. Just make sure you are given ample time for the data to be processed, which could be anywhere up to 24 hours.