WP7 custom variable posting for google analytics in XNA applications.

Feb 2, 2012 at 3:24 PM

Hi All,

i am developing a project in XNA , i need to add google analytics for my app , currently i am using 


[Import("Log")]        public Action<AnalyticsEvent> Log { get; set; }

            var logEvent = new AnalyticsEvent()            {                ActionValue = "Something",                Name = "Downloaded",                ObjectType = GetType().Name            };


But my app crashes for this.Log(logEvent); can u ppl suggest me if i am wronng so that i can post my custom variable to google.





Jan 5, 2016 at 7:06 AM