Ecommerce Impressions/Items Chunk Size – GTM Template (Web)

Ecommerce Impressions/Items Chunk Size – GTM Template (Web)

If the Google Analytics payload size is larger than 8192 bytes, the hit will not be sent to Google Analytics. This usually occours with GA Enhanced Ecommerce Impressions, or GA4 Items sent with the view_item_list Event.

This GTM Tag Template (Web) overcomes this problem by breaking GA4 Ecommerce Items or GA EEC Impressions payload into smaller chunks.

This Template is available in the Google Tag Manager Template Gallery.

Ecommerce Impressions/Items Chunk Size – GTM Template (Web)

Template Settings

You can choose to read Ecommerce data from the Ecommerce Object (Data Layer), or from a GTM Variable. In addition, you can choose number of Items returned in the chunked payload, and Event Name.

Full documentation of the Template can be found on Github.