This function will send the specified text to the analytics provider that you have set up through the HTML5 Game Options. This function can be used to create a custom analytic to track something outside of the scope of the provider being used.
|string||A string to send to the provider|
analytics_event("New hiscore of " + string (score));
The above code will check a variable to see if it is true and if it is then a special analytics event will be triggered with the specified string.