Microsoft has released a Windows SDK for Google Analytics. Now, with a simple SDK based on the Android SDK variant of Google Analytics, developers can now integrate Google Analytics tracking into their Windows apps. It is based on Google’s Measurement Protocol, as explained by Microsoft’s Windows apps team:
The SDK is built on top of Google’s Measurement Protocol, a service that allows developers to send engagement data to the Google Analytics Servers over HTTP requests. The APIs in the Windows SDK for Google Analytics are modeled on class names and design patterns from Google’s Android SDK, to ensure maximum portability and readability for those already familiar with Google Analytics on other platforms.
Google Analytics for apps allows developers to record crashes, key user events and see the general app usage in a detailed view. The SDK is available for Universal Windows Apps, desktop apps and WinRT apps.
To find out how to integrate Google Analytics into a Windows app, Microsoft provides some instructions here.
The new SDK is open source and Microsoft invites users of it to contribute. Additionally, it asks users to provide feedback on the GitHub repo.