roman_44 Posted April 4, 2016 Share Posted April 4, 2016 Hey, Babylon citizens! I'm trying to find some kind of analytics for interaction with WebGL. What I need is to get some info about how long user spend watching for some Babylon stuff (playing game) in canvas element, track clicks on babylon scene and so on. I was investigating this field and found that there is nothing to track webgl or canvas interaction. All services such as Google Analytics, Clicky, Mouseflow, which can give you info about where user clicks and how long etc... and even can write video of mouse moving will not give me what is happening on canvas element at that point of time. Which means I don't know what user is doing with WebGL. I know that I can track what I need manually and store all data somewhere to get analytics what I need. Like for example send time when user start scene in Babylon, and then get time when canvas element destroyed for example. But just want to double-check with you guys that I'm not missing some existing software. Quote Link to comment Share on other sites More sharing options...
RaananW Posted April 4, 2016 Share Posted April 4, 2016 There is none, AFAIK. But modifying google analytics would be more than possible. Afterall, they do have a component for unity games (https://developers.google.com/analytics/devguides/collection/unity/v4/) . Check the API, see what's possible. Share your knowledge afterwards! would be great to know if you succeeded! Quote Link to comment Share on other sites More sharing options...
JakeCake Posted April 4, 2016 Share Posted April 4, 2016 Use Google Tag Manager perhaps. You can set up events in javascript such as: dataLayer.push({ event: 'canvas_loaded', load_time: '2867ms', label: 'whatever you want here etc.'}); These events you can add anywhere. You can even log all client-side javascript errors to see if your game have any fatal bugs. Quote Link to comment Share on other sites More sharing options...
OMAR Posted April 4, 2016 Share Posted April 4, 2016 I think it'd better to create your own. Seems like too much work but relatively easy one. If you do so, please let us know to use it Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.