Open GoogleCodeExporter opened 9 years ago
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/paramet
ers
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/enhance
d-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'});
Original comment by george.p...@gmail.com
on 5 May 2015 at 9:00
Original issue reported on code.google.com by
vincent....@gmail.com
on 18 Dec 2014 at 9:41