Troubles with Google Analytics Custom Variables

Custom Variables are quite simple way to remember some additional information related to pageview, visti (session) or visitor. I assume using

The Problem

But there is one unpleasant limitation:
“There is a 64-byte character limit for the name and value combined…”
It means that name and value strings (passed to _setCustomVar(slot, name, value, scope)) together must not exceed 64 characters in URL-encoded form. If you set string with non-ASCII characters, it is encoded. But if the total encoded string lenght exceed 64 chars, custom variables is not recorded (without a visible error!).

 

Pokračovat →