This project has moved and is read-only. For the latest updates, please go here.

JavaScript runtime error: Class not registered

Mar 5, 2015 at 10:23 PM
Edited Mar 5, 2015 at 10:47 PM
Hi,

I am building a Javascript based Windows 8.1 Store App in Visual Studio Express 2013, using the Blank App (Windows) JavaScript Template project. I have gone through and installed the GoogleAnalyticsSDK via NuGet, updated the analytics.xml and when I attempt to access GoogleAnalytics.EasyTracker.getTracker().sendView("main") I get the JavaScript runtime error: Class not registered error. How do I solve this issue?

Thanks,
Robert
Jul 13, 2015 at 2:15 AM
Unfortunately this is a bug in VS2013 Update 4. The good news is that it should be fixed in VS2013 Update 5. However, please note that the recommended version of the SDK for JavaScript is the native version (which is installed through the .vsix installer instead of the NuGet package).