Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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.