I know that second value after splitting __utma cookie is a visitor unique id. How can I obtain that in proper way? Something like this: var uid = _ga.visitor.getUid();
I know that second value after splitting __utma cookie is a visitor unique id.
Share
UPDATE
_visitCode()is an undocumented method but it has been around for at least one year as far as I know. My guess is that Google will not get rid of it, since it’s concentrating it’s new efforts on implementing Universal Analytics that has a different approach.The 2 options you have here is to either use this undocumented method or fiddle with a cookie that also has an undocumented format. So both are somewhat unreliable.
On the time of this posting Universal Analytics is still in beta.