Google Analytics now also on your Windows Phone 8 app in 1 minute

Yes today I released the Google Analytics NuGet package that supports Windows Phone 8. It’s part of the same NuGet package of the version for Windows Phone 7. I’ve heard that creating an app account doesn’t work any longer with Windows Phone apps, though you can fake it into a website. But for the detailed three steps I recommend reading my previous post. The fast track?

Open the NuGet Package Manager Console and type:

Install-Package MSAF.GoogleAnalytics
Have fun!
  • Gravatar michael January 31st, 2013 at 23:47
    This isn't working. I'm getting errors

    PM> Install-Package MSAF.GoogleAnalytics
    Successfully installed 'MSAF.GoogleAnalytics 1.5.4.2'.
    Successfully added 'MSAF.GoogleAnalytics 1.5.4.2' to Win8App1AnalyticsTest.
    You cannot call a method on a null-valued expression.
    At C:\Users\Michael\Documents\Visual Studio 2012\Projects\Win8App1AnalyticsTest\packages\MSAF.GoogleAnalytics.1.5.4.2\tools\Install.ps1:20 char:3
    + $lto.AppendChild($gas)
    + ~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull
  • Gravatar Mark Monster February 1st, 2013 at 20:08
    Hi Michael,

    Only Windows Phone 7 and Windows Phone 8 are supported. There's currently no support for Windows 8.

    HTH,

    Mark Monster
  • Gravatar Jonas February 23rd, 2013 at 22:22
    Install-Package : Could not install package 'MSAF.GoogleAnalytics 1.5.4.2'. You are trying to install this package int
    o a project that targets 'WindowsPhone,Version=v8.0', but the package does not contain any assembly references that ar
    e compatible with that framework. For more information, contact the package author.
    At line:1 char:1
    + Install-Package MSAF.GoogleAnalytics
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
  • Gravatar Knutator April 17th, 2013 at 19:47
    Hi Mark,

    I added your package and instantiate the tracker with new AnalyticsTracker(); On WP 7 everything is fine, but when i do this on WP8 I always get a System.ComponentModel.Composition.ChangeRejectedException. Do you know how to fix that?
  • Gravatar toney May 14th, 2013 at 05:19
    now,it can work? why ,there is no data on google analystics websit?i modify the WebPropertyId..
  • Gravatar converse femme May 21st, 2013 at 10:00
    I genuinely like em. It's not wish you put on these out walking around town folks. That's whatever earbuds usually are for.
  • Gravatar chaussure adidas May 21st, 2013 at 10:00
    The only men and women that would glimpse good carrying these fugly things would be Ferrari hole crew while in the pits.
Gravatar