Google Analytics for WinRT
Today we’ve updated Google Analytics for WinRT.
It’s new major version of Google Analytics, and let’s see why.
What is new in this version besides the core, is custom variables tracking support.
People use variables in GA for tracking application versions, device models and manufacturers and other application and user characteristics.
By default, Google Analytics for WinRT tracks device model and manufacturer if it’s not custom PC. As soon as user’s device has model and manufacturer, you’ll know that.
We use custom variables in following order:
#1 – Custom PC – Yes/No
#2 – Manufacturer – “Dell” or whatever it is
#3 – Model – “MacBookPro7,1” or any other.
If you don’t need that tracking, you can disable it using GoogleAnalyticsSettings class.
After your application launch, you’ll be able to run a report across these variables and see which devices are most popular in the market of your app.
How can I use Google Analytics in my WinRT app?
The best way to use Google Analytics tracking code at your WinRT application is to start with Nuget.
Installing package w8ga to your application will most of the job. (Run Install-Package w8ga in Package Manager console)