You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GoogleAnalyticsTracker does not track windows store apps.
I am using VS 2012. If I try to install it using nuGet, it fails there also.
So, I downloaded the project from GitHub, build the solution and referred the assembly in my windows store app.
I added the following code for tracking
private async Task TrackView(IView view)
{
using (Tracker tracker = new Tracker("UA-XXXXXXXX-2", "none", new WinRtAnalyticsSession()))
{
await tracker.TrackEventAsync("Analytics", "Test", "", default(int));
return await tracker.TrackPageViewAsync(view.ViewModel.ViewTitle, view.ViewModel.ViewTitle);
}
}
But this does not work.
Am I missing any other setting ?
The text was updated successfully, but these errors were encountered:
GoogleAnalyticsTracker does not track windows store apps.
I am using VS 2012. If I try to install it using nuGet, it fails there also.
So, I downloaded the project from GitHub, build the solution and referred the assembly in my windows store app.
I added the following code for tracking
private async Task TrackView(IView view)
{
using (Tracker tracker = new Tracker("UA-XXXXXXXX-2", "none", new WinRtAnalyticsSession()))
{
await tracker.TrackEventAsync("Analytics", "Test", "", default(int));
return await tracker.TrackPageViewAsync(view.ViewModel.ViewTitle, view.ViewModel.ViewTitle);
}
}
But this does not work.
Am I missing any other setting ?
The text was updated successfully, but these errors were encountered: