Tech post: Tracking hit size in GTM with the GA Tasks API

Did you know that GA has a hit size limit? It’s true. The limit is just over 8kb, and a standard pageview hit (containing a handful of custom dimensions) from my blog comes in at around 500 bytes – 1/16th of the max size. Realistically, the vast majority of hits sent to GA don’t come anywhere near the limit. But rarely – if you’re tracking many dimensions/metrics/attributes at a time, as my large-enterprise clients do – hits may cross the threshold. What happens if a hit exceeds this maximum size? It’s completely dropped from GA before it’s ever processed, without[…]

Read more