Analytics help!

Discussion and feedback on Construct 2

Post » Fri Jul 29, 2016 3:34 am

I've been wracking my brain trying to get analytics to work with C2

I've tried suntemple's google analytics plugin ,
plugin-google-analytics_t110497?

along with the tutorials on the subject in the tutorials section.
https://www.scirra.com/tutorials/4862/a ... -your-apps

The furthest i can get is for google analytics to register that someone is currently on the site. And it will track the event that i made ONLY if its the very first one to be sent (on start of layout).

But other then that i cant for the life of me get any further events to show up in google analytics.

Has anyone had any luck getting google analytics working properly in C2?

thx
B
87
S
44
G
16
Posts: 1,005
Reputation: 17,938

Post » Fri Jul 29, 2016 12:28 pm

What are you trying to track? If you want analytics of the gameplay, then you should build up your own system (using events) and send the data to an SQL database.
B
135
S
33
G
17
Posts: 1,557
Reputation: 20,717

Post » Sat Jul 30, 2016 1:40 am

with only being able to track the first event, could you do "every x seconds" instead of "on start of layout" ???
.
B
18
S
4
Posts: 10
Reputation: 1,074

Post » Sat Jul 30, 2016 2:23 am

Ok so i think i figured out "part" of the issue at least.

Still cant get the plugin to work, but using the tutorial method to manually inject the google tracking code. I found out that was i putting it in the wrong location of the html file. it should be in between the <body> </body> area, not in the <head> where i had accidentally put it.

The next issue though, is that it seems to work on my computer, and on my android phone, but on my iphone, it registers that theres a user, but the buttons dont send events.

hrmmm.

edit: Ok, it seems like on the iphone it will only register with "On touched" commands instead of the mouse "on object clicked" command i had before. However android/pc worked with either.
B
87
S
44
G
16
Posts: 1,005
Reputation: 17,938


Return to Construct 2 General

Who is online

Users browsing this forum: disneycom2 and 16 guests