Google Analytics has or had a maximum payload size of 8kb. This can sometimes cause issues when you are sending product impressions on a category page to Google Analytics. So for example, when you are sending 100+ product impressions in your hit.
I recommend either implementing a wrapper that checks packet sizes before they're passed to the dataLayer or just splitting up the impressions object into an array of max 20 items.
Please sign in to leave a comment.