AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Analytics
4.5K members online now
4.5K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
 
Guide Me
star_border
Reply

Cannot see products data in GA (in GA under report: "Product Performance")

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi guys,

 

I have added dataLayer on site as follows: https://www.awesomescreenshot.com/image/2624245/dc909d52710661c5cc95d19854e93430
I see in Google Analytics following data: transaction; coupon code (if any); tax; shipping; revenue.
But I do not see data about the products (none of it), it is just empty.

 

Could you please help by suggesting possible problems/mistakes? 

Thanks in advance

1 Expert replyverified_user
1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Arturs M
July 2017

Re: Cannot see products data in GA (in GA under report: "Product Performance")

Explorer ✭ ✭ ☆
# 6
Explorer ✭ ✭ ☆

I found the problem... From your screenshot, it looks like "products" is an array of array of objects, and your product id should be of type 'text':

products: [ [ {id: 1...}]]

should be:

products: [ {id: '1'...}]

The dataLayer needs to match exactly or it won't work. Review the dataLayer structure and data types.

View solution in original post

Cannot see products data in GA (in GA under report: "Product Performance")

Rising Star
# 2
Rising Star

Hi Arturs,

 

We can't see your tag configuration here.  You could try send the ecom data with a pageview tied to a dom loaded trigger  gtm.dom  or perhaps firing your event after your dataLayer is populated.

 

The developer docs are here

https://developers.google.com/tag-manager/enhanced-ecommerce#purchases

 

That said, you can bypass all that and pop in on Simo, he's the King of all GTM.

 

https://www.simoahava.com/analytics/enhanced-ecommerce-tips-and-learnings/

 

Best,

 

Theo Bennett

 

Analytics Evangelist at MoreVisibility | Contact Me
Connect on LinkedIn

Cannot see products data in GA (in GA under report: "Product Performance")

Explorer ✭ ✭ ☆
# 3
Explorer ✭ ✭ ☆

From the screenshot, we can see you have a dataLayer which, at first glance, looks right. But... double check the syntax for passing monetary values. I think the value '248.0000' will have your whole transaction rejected. 

Cannot see products data in GA (in GA under report: "Product Performance")

Visitor ✭ ✭ ✭
# 4
Visitor ✭ ✭ ✭

Hi Theo,

I have a transaction tag: https://www.awesomescreenshot.com/image/2630243/78e10bd15632c080135e463ff24eae98
It fires upon a "Thank you" page view.

Also a "Purchase tag" which uses dataLayer, fires upon custom event "purchase"

Cannot see products data in GA (in GA under report: "Product Performance")

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭

hi Stephane, 
the thing is that I get revenue data in GA under "Sales performance" report, just do not see the product info. 

Marked as Best Answer.
Solution
Accepted by topic author Arturs M
July 2017

Re: Cannot see products data in GA (in GA under report: "Product Performance")

Explorer ✭ ✭ ☆
# 6
Explorer ✭ ✭ ☆

I found the problem... From your screenshot, it looks like "products" is an array of array of objects, and your product id should be of type 'text':

products: [ [ {id: 1...}]]

should be:

products: [ {id: '1'...}]

The dataLayer needs to match exactly or it won't work. Review the dataLayer structure and data types.