Interested to see what happens right after you send everyone a push notification? I am!
At first I thought it wasn’t possible to do Page tracking from within the MSAF + Google Analytics. But after a little bit of investigation I saw that it was always overwritten by MSAF, a small modification made it possible.
The NuGet Package I created (now updated) has new methods to track the page on the AnalyticsTracker helper-class.
public interface IAnalyticsTracker
{
void Track(string category, string name);
void Track(string category, string name, string label);
void TrackPage(Uri pageUri);
void TrackPage(string page);
}I now have a simple extra call inside the OnNavigatedTo methods on the Page.
protected override void OnNavigatedTo(NavigationEventArgs e)
{
base.OnNavigatedTo(e);
var analyticsTracker = new AnalyticsTracker();
analyticsTracker.TrackPage(e.Uri);
}And the result with testing both my emulator and on the phone itself was this image.
Try it out yourself.




I have a question, where am I supposed to see the events tracked by AnalyticsTracker.Track in the dashboard. I see the TrackPage method tracking in the dashboard, but I am unable to find the tracking with the string category, string name, string label information.
Thanks and keep on the good work :)
I found one UTMA data save in IsolatedStorageSettings.ApplicationSettings, but this data seem not changed when track event happening.
. I'll bookmark your web site and take the feeds additionally? I'm happy to
find a lot of useful information here in the put up, we'd like develop more strategies in this regard, thank you for sharing. . . . . .
This article has truly peaked my interest. I am going to bookmark your
website and keep checking for new information about once a week.
I subscribed to your RSS feed too.