I know only about the cranberry's google analytics plugin that is cordova based but I'd like to use this solution for web based games.
If you want basic tracking, just add your Google Tracking code to the index.html file exported by Construct2.
Thats what I do. But it will only give info about number of visitors and location/referrer.
Does the Analytics Plugin not work on normal web version of a game? I wanted to try it for my next project.
Develop games in your browser. Powerful, performant & highly capable.