Web Player

Due to Security Sandbox of the Webplayer we are not able to send data directly from Unity Web Player on a domain other than the one hosting your .unity3d file. That’s why the plugin uses an additional java script for sending the data. 

And that’s why we are not able to send data from the editor while we are in the web player mode, because in the web player mode Editor will emulate this restriction.

Here is a small guide how to enable analytics data sending from the Web Player. One the Player Settings before building and choosing Analytics template in the Web Player settings.

In case you want to use your own template, you need to connect the GoogleAnalyticsUnityPlugin.js script to your Web Player templat which can be found at: Assets/WebPlayerTemplates/Analytics/js/GoogleAnalyticsUnityPlugin.js