SpeakAgent / lingshare

Frontend for LingShare site
MIT License
0 stars 0 forks source link

Add analytics to games #6

Open kcunning opened 9 years ago

maljones commented 9 years ago

Assigning this to Baron. It's in and we should start getting some kind of data to make sure it's working with the first week of the pilot.

thebaron commented 9 years ago

From lingshare story #594:

Baron ChandlerBaron Chandler(19 days ago) This is in progress and largely done, tho we have a few things to review. From email:

I have taken the first pass at the analytics. I think there are still some things missing, but I tried to capture these main events:

Note that the analytics are delayed right now because of a system problem at mixpanel. They're working on it. But it does mean I did all this work blind and I can't see the results of all of it, so somehow the data will just appear and we can either ooh and ahh or freak out together... In the meantime, it's committed and in. (Katie, if you wanna see what we are sending, you can run the games and show the javascript console and watch for MIXPANEL EVENT log messages (I've activated debug). There is an object with a twiddler (|>) that you can open and examine the properties and see the things being sent - distinct_id is the user, it includes browser and resolution and all sorts of other stuff, too.) Baron ChandlerBaron Chandler(Just added) Feedback from Ben re: analytics:

In previous days, timer start exactly = timer end, but today there seemed to be a lot more starts than ends. Maybe this is because the timer end event is only triggered if the user plays through the entire game?

There were no Lexeme played events last few days, even though there were tons of plays happening, so that raised the question if it’s firing properly in that one case.

I’m not sure how app launched and click nav link are triggered or how click nav link is different from user nav click.

Lastly, I think there are some other events like registration, login and right/wrong answers that can’t be tested yet since I guess they don’t exist. I do want to know what’s realistic to include in this first release vs. to add later.

thebaron commented 9 years ago

In holding pattern until I can get the code working locally enough to test and figure out where the various issues may be coming from.