I am new to Google Analytics and trying to integrate it with my windows phone app. I followed the steps like creating a tracking ID, installing the nuget package and editing the information in analytics.xaml. I even added a tracker in my app initializer
When I try to execute the code in emulator, I am getting an exception. Details below
Message : An attempt to override an existing mapping was detected for type GoogleAnalytics.Core.IPlatformInfoProvider with name "", currently mapped to type GoogleAnalytics.Core.PlatformInfoProvider, to type GoogleAnalytics.PlatformInfoProvider.
Stack Trace : at Microsoft.Practices.Unity.UnityContainerRegistrationByConventionExtensions.RegisterTypeMappings(IUnityContainer container, Boolean overwriteExistingMappings, Type type, String name, IEnumerable
1 fromTypes, Dictionary
at Microsoft.Practices.Unity.UnityContainerRegistrationByConventionExtensions.RegisterTypes(IUnityContainer container, IEnumerable
1 types, Func
2 getFromTypes, Func
2 getName, Func
2 getLifetimeManager, Func`2 getInjectionMembers, Boolean
at MyPhoneApp.IocContainer.AppContainer.Initialize(Frame rootFrame, DataContext dataContext)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__0(Object state)
can someone help me in fixing this?