Jump to content

WebGL Analytics


Recommended Posts

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. 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...