How to use google analytics in the web based games?

Get help using Construct 2

Post » Wed Apr 13, 2016 11:28 am

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.
B
74
S
13
G
4
Posts: 1,000
Reputation: 8,041

Post » Sun May 15, 2016 2:45 pm

If you want basic tracking, just add your Google Tracking code to the index.html file exported by Construct2.
Play Ball Walker App Store | Google Play | Amazon
Image
B
30
S
5
Posts: 116
Reputation: 2,088

Post » Mon May 16, 2016 7:55 am

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.
B
54
S
16
G
6
Posts: 719
Reputation: 9,207

Post » Tue May 17, 2016 12:28 am

hey @Bl4ckSh33p, I have't been able to get any of the GA plugins to work successfully, but if they operate like the mobile ad plugins, they probably won't. If you want to track more than just views, visitors, referrers, etc... and want to track events, you could try using the Browser > Execute JavaScript function to call a manual GA Event Tracking.
Play Ball Walker App Store | Google Play | Amazon
Image
B
30
S
5
Posts: 116
Reputation: 2,088


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 19 guests