My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 553: List Name (not set) for add to cart, checkout, purchase
36 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Reported by [email protected], Dec 18, 2014
---------------------------------------------------------------------------
NOTE: This issue tracking system is for Google Analytics developer products
only.
If you are not a developer/programmer visit:
http://www.google.com/analytics/support.html
---------------------------------------------------------------------------
Name of affected component: Core Reporting API

Issue summary:
As I can read here : https://support.google.com/analytics/answer/6014841?hl=en#product_attribution
The last Product List name (from product impression tag) should be linked to events : Add to cart, checkout, purchase.  
But it doesn't

Steps to reproduce issue:
1. Add Product impression's Tag on a product list, with a list name.
2. Add to cart from this product list.
3. Check the report Product List Performance on analytics

Expected output:
There should be one line, with the list name and with the "product impression" column set to '1' and the "add to cart" column to '1'.

Actual results:
You have on line for the list name, with the "product impression" column to '1'. And one line with a list name set to "(not set)" with the" add to cart" column to '1'.

Notes:
If you go to the product view page (with a detailImpression tag), and then add to cart, then it seems to work. But if you add to cart from list (without detail Impression tag), the list name is recorded as (not set).
May 5, 2015
#1 [email protected]
By reading the GA docs I came to the conclusion that this is a limitation of the measurement protocol and therefore GA itself.

You can find the relative document here: https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters

The description of the "Product Action List" parameter says that the product list of a product impression object only gets attributed to the "detail" and "click" actions. 

In other words, if you send the "Product Action List" parameter alongside a "Product Action" parameter whose value is anything else except "detail" or "click", then it's highly likely that the issue you described will appear in the "Product List Performance" report.

Using the example illustrated here:
https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce

This command won't work in our case:
ga('ec:setAction', 'add', {list: 'Search Results'});

But this will:
ga('ec:setAction', 'click', {list: 'Search Results'});

The problem occurs when the user inserts the product to his cart ("add" action) without interacting ("click" action) or viewing the details of ("detail" action) of it. 

One solution would be to send two events with similar GA ecommerce parameters when a user adds the product directly to his cart. The prior would be an interactive and the latter a non interactive event or vice versa.

Here's an example:

I'm logged into a ecommerce website, just landed on a web page and viewed all of the page's products (pageview with relevant enhanced ecommerce impression data is already sent). I now add a product with the product list "TVs" to my cart. At this moment two GA events should be fired:

1) One with ga('ec:setAction', 'click', {list: 'TVs'});

2) The other with ga('ec:setAction', 'add', {list: 'TVs'});
Sep 7, 2015
#2 [email protected]
I managed to get this working by adding the action field attribute to the dataLayer call.  Like this:

dataLayer.push({
  'event': 'addToCart',
  'ecommerce': {
    'currencyCode': 'EUR',
    'add': {  
      'actionField': {'list': 'Search Results'},                         
      'products': [{
        'name': 'Triblend Android T-Shirt',
        'id': '12345',
        'price': '15.25',
        'brand': 'Google',
        'category': 'Apparel',
        'variant': 'Gray',
        'quantity': 1,
        'list': 'Search Results'
       }]
    }
  }
});

That worked for me.
Sep 11, 2015
#3 [email protected]
I had the same problem and was stuck for hours. 

My issue was that I had the checkout process on a different subdomain than where the product impressions was listed and clicked on. 
By simply adding a field on the GA page view tag i GTM, "cookieDomain" = "auto", all started working. 
http://www.lunametrics.com/blog/2015/06/16/cross-domain-tracking-with-google-tag-manager/

The only places I needed to add information about the list, was:
- product impressions list. "'list' : 'Search result'"
- product click (from impressions list). 'actionField': {'list': 'Search Results'},

I did not add it for product detail, or anything in the checkout process (add to cart, checkout, purchase).

For other external domains in the checkout process I guess you will need cross domain tracking.





Nov 5, 2015
#5 [email protected]
We're having the same problem.

We've tried all of the suggestions above, but are still seeing a large number of (not set)'s showing around (45%) for the product checkouts list.
Nov 6, 2015
Project Member #6 [email protected]
 Issue 750  has been merged into this issue.
Nov 18, 2015
#7 [email protected]
I have the same problem, 
Nov 18, 2015
#9 [email protected]
Same here. Currently experiencing a very high volume of revenue associated to product list name set as "(not set)". Looking forward to see if GA tech team will be fixing this soon.
Jan 6, 2016
Project Member #10 [email protected]
(No comment was entered for this change.)
Labels: -Component-CoreReportingAPI Component-TrackingCode
Mar 5, 2016
#11 [email protected]
553
Sign in to add a comment

Powered by Google Project Hosting