示例#1
0
        public GoogleAnalyticsTestPage()
        {
            //will show up page name depending on what platform
            //Android
            if (Device.OS == TargetPlatform.Android)
            {
                //Track Page
                GASCall.Track_App_Page("Android HomePage");
            }
            //or iOS
            else
            {
                //Track Page
                GASCall.Track_App_Page("iOS HomePage");
            }

            InitializeComponent();
        }
示例#2
0
 //sending event to google analytics
 private void GoogleAnalyticsEvents(string Category, string EventToTrack)
 {
     GASCall.Track_App_Event(Category, EventToTrack);
 }