Google Analytics. Improved ecommerce. Product Impression Restriction

Does anyone know something about limits for sending impression data for advanced e-commerce (Google Analytics)? I found strange behavior that sending data over 8K is limited to Google. I use the data layer to send e-commerce data. I have up to 100 products per page, I also use unicode to send product names and categories. So, I have a lot of data to send. And the worst thing is that GA does not track pageviews. It just doesn't send a receive request at all if I try to use a lot of data. I did not say anything about this in the documentation. Any ideas how to avoid such a limitation?

+4
source share
2 answers

As for the first part of the question, the limit for an HTTP request to the Google Analytics endpoint is 8192 bytes - this is indicated in the documentation for the measurement protocol (which is the basis for Universal Analytics).

- , http .. Google Analytics. , ( UPDATE, : , SKU/ ).

+3

. .

, .

Google:

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('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).
});

, ?

0

Source: https://habr.com/ru/post/1547565/


All Articles