Anyone using Google Analytics (GA) and IOS? I’m using Prime31’s plugin, but these are general GA questions.
How do I separate out my game events from my normal web traffic?
iOS doesn’t use a cookie coming from a game, so each event is treated like a ‘new visit’ on the site. So, it looks like the average stay time is like 10 seconds. How do I fix that?
Well, I’m replying to an ages-old message, and I’m sure you found some other solution back then.
But, in case somebody finds this thread using search, or you’re looking for ways to integrate analytics for new projects, I’d like to mention my solution for integrating Google Analytics to Unity projects: Google Universal Analytics in Asset Store.
(Website / forum thread)
Google’s new Universal Analytics has a “measurement protocol” specification, and the above package uses that to send hits to analytics. The advantage here is that there’s no need for native library for each platform. So the same code actually works on mobile, desktop and web player platforms (Desktop - Windows, OSX, Linux, Windows8; Mobile - iOS, Android, Windows Phone 8, BlackBerry 10; Browser - Unity Web Player plugin). It’s implemented in pure C# and uses Unity’s WWW class for networking.