Send Google Analytics payload length as a Custom Dimension
The maximum length of a Google Analytics payload is 8192 bytes. It is useful to check if you are approaching this value with some of your hits because if the payload length exceeds this, the hit is never sent to GA.
How can we know the payload size with each hit?
Today i will show you how to send the payload size as a custom dimension to GA with each hit. The tool is Google Tag Manager.