Ejemplo n.º 1
0
        private void AnalyticsManager_RealTimeUpdateEvent(AnalyticsManager analytics)
        {
            float rtUsers     = analytics.getRealtimeValue("rt:activeUsers");
            float rtPageViews = analytics.getRealtimeValue("rt:pageviews");

            Debug.WriteLine("Realtime Update:");
            Debug.WriteLine("Users: " + rtUsers + " PageViews:" + rtPageViews);
        }
        private void AnalyticsManager_AnalyticsUpdateEvent(AnalyticsManager analytics)
        {
            if (!Metric.StartsWith("ga:"))
            {
                return;
            }

            float value = analytics.getRealtimeValue(Metric);

            SimplePosition(value);
        }