I have look at the Universal Analytics without finding the correct answer to my problem.
How do I update this line from the old Analytics to the new Universal Analytics?
_gaq.push(["_setCustomVar", 1, "splittest", "control", 1]);
Custom variables have been replaced by custom dimensions in analytics.js and Universal Analytics:
ga('set', 'dimension1', 'control');
You can read more about replacing custom variables with custom dimension here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With