Google Analytics on index.html?

Discussion and feedback on Construct 2

Post » Thu Jan 22, 2015 2:00 pm

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?
Bl4ckSh33p-Soft - Custom Software and Indie Games
B
58
S
18
G
6
Posts: 756
Reputation: 9,591

Post » Fri Jan 23, 2015 6:31 am

Have you tried using the Google Analytics plug-in instead?
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,293

Post » Fri Jan 23, 2015 8:23 am

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.
Bl4ckSh33p-Soft - Custom Software and Indie Games
B
58
S
18
G
6
Posts: 756
Reputation: 9,591


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 3 guests