When I export game in C2 as HTML5 website without minifying script and put Google Analytics tracking code into to HTML - everything is OK.
When I export game in C2 as HTML5 website with minify script option ON and put Google Analytics tracking code into to HTML - the game starts to behave strange and unpredictably. For example "goto layout" doesn't work and animations doesn't change on some sprites.
I think that this is because minify (obfuscation) changes names of functions from "goToLayout(01);" to something like this "ga(01);", and google track code looks like this "ga('send', 'event', 'game', 'x', 'y');". So there may be conflicts with method names.
But that's only my guess.
Have you experienced any similar problems with Google Analytics.