C
C
CartmanGui2017-03-16 18:09:37
Google Analytics
CartmanGui, 2017-03-16 18:09:37

How to pass information about Ajax loaded products?

The product is displayed on the page according to the documentation of google analytics Enhanced Ecommerce in order to transfer information about this, you need to complete a year

ga('ec:addImpression', {            // Provide product details in an impressionFieldObject.
  'id': 'P12345',                   // Product ID (string).
  'name': 'Android Warhol T-Shirt', // Product name (string).
  'category': 'Apparel/T-Shirts',   // Product category (string).
  'brand': 'Google',                // Product brand (string).
  'variant': 'Black',               // Product variant (string).
  'list': 'Search Results',         // Product list (string).
  'position': 1,                    // Product position (number).
  'dimension1': 'Member'            // Custom dimension (string).
});
ga('send', 'pageview'); // Отправка данных вместе с хитом

moreover, you need to send information about the display of the product in revenge with a page space
hit

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dimonchik, 2017-03-16
@dimonchik2013

too lazy to think
https://mjau-mjau.com/blog/ajax-universal-analytics/
but you can transfer at least separate pages, virtual, etc.

C
CartmanGui, 2017-03-17
@CartmanGui

there are all sorts of e-commerce, i.e. you can simulate parameter passing
well, in the ecommerce docks it is written that information about displaying goods should be sent along with the page view hit, that is, through ga('send', 'pageview');

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question