Now Access Google Analytics Services in Windows App Using New Windows SDK

Microsoft lights up Windows developers with new feature-rich capabilities through Windows SDK for Google Analytics. UWP Community Toolkit 1.3.

Windows SDK for Google Analytics, providing an easy way for Windows 10 developers to access valuable services provided by the most widely used and popular analytics labraries by Google for websites and mobile apps.

"Google Analytics help in tracking user sessions, screen views, events, crashes, social interactions and promotional campaigns on Android and iOS."

"There is a C# SDK that can be used both by Universal Windows Store apps and desktop apps, and there is also a C++ WinRT component for developers targeting UWP apps written in C++ or JavaScript," writes Windows Apps team.

The SDK is built on top of Google's Measurement Protocol, a service that allows developers to send engagement data to 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.

The SDK can be integrated into apps via a NuGet package. To add Windows SDK for Google Analytics to a project, complete all the following steps:

  • Register your app for Google Analytics—when you register your property, make sure you do it as a "Mobile app" and not a website.

  • Add the appropriate NuGet reference to your app:
  • SDK for C# apps.
  • SDK for C++ and JavaScript apps.
  • Last but not least, add your code to track events.

For more details, you can also watch the video demonstrates every step below, "Getting Started with the Windows SDK for Google Analytics":

The source is hosted on GitHub.

Today, an update to UWP Community Toolkit now at version 1.3, can be used in any app (across PC, Xbox One, Mobile, HoloLens and Surface Hub devices) targeting Windows 10 November Update (10.0.10586) or above.

The few features that rely on newer OS updates are clearly marked in the documentation and in the Sample App.

To get started follow these steps, or preview latest features by installing UWP Community Toolkit Sample App from the Windows Store.

UWP Community Toolkit 1.3
UWP Community Toolkit 1.3

Power BI's custom visuals gallery can now efficiently visualize two measures over time with the Dual KPI feature, that shows the two visualizations' trend based on a joint timeline, while absolute values may use different scales.

The new feature can help users keep an eye on two KPIs at the same time, "such as profit and market share, or sales and profit," writes the BI team.

You can start by downloading Dual KPI HERE.