Re:ABalytics.js: Client-side A/B Testing With Google Analytics
by danmaz74 on Wednesday October 10, 2012 @06:03PM
(#4638437)
Ok, now I understand what the issue is. I guess a good solution would be to pass _gaq to my library initializer and push every value with a for cycle, instead of using concat. Thanks for the tip.
There are LOTS of different versions of the GA snippet floating around the internet; the assumptions this configuration makes would only work for some of them.
For example, some people load GA like this:
Folks who do this will break at minimum with older browsers that don't support async; not sure what it would do with async support, though.It seems unnecessarily risky.