Hi. I added the google analytics code on bottom of the index.html generated by Construct2 but it does not seem to work and when I show the sourcecode in Chrome the code is not there at all. I uploaded the index.html a few times to be sure to have the current version on the server but it does not seem to show up in the source. Is this only some server/cache problem or does google analytics script not work on the index.html file?
Develop games in your browser. Powerful, performant & highly capable.
Have you tried using the Google Analytics plug-in instead?
Not yet. Simple tracking how many people visited the page should be enough so I tried to add the tracking code directly.
I will take a look at it but it would be nice to know if it "should" work if you just add the code on index.html.