Jump to content

Panda Analytics?


Ninjadoodle
 Share

Recommended Posts

Hi Guys

 

I'm trying to make a detailed tutorial on setting up the config file and was wondering if somebody could explain to me how the analytics work?

 

I'm slowly trying to put together a resource for newbies to learn Panda, so this would really help!

 

I found an old thread with an example, but the link is now broken.

 

Thank you!

Link to comment
Share on other sites

^ Ninja :3

 

Check the documentation (here), the doc of the Analytics class is realy cool. This class seems to be easy to use, for example (If I understood) :

game.createScene('Main', {	init: function()	{		var gaID = 6635;		this.analytics = new game.Analytics(gaID);		// [...]	}	playerJump: function()	{		this.analytics.send("player", "jump", "info", "Player jumped !");		// [...]	}});
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.

Guest
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.

Loading...
 Share

  • Recently Browsing   0 members

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