[Solved] I want to send information to google-analytics [closed]


You need to get GoogleAnalytics jar.

https://developers.google.com/analytics/devguides/collection/android/resources

Setup your account on google and when your app starts:

https://developers.google.com/analytics/devguides/collection/android/devguide

    //Google analytics
    tracker = GoogleAnalyticsTracker.getInstance();
    tracker.setDebug(true);
    tracker.startNewSession("UA code",10, this);

To track (event for example):

tracker.trackEvent("landing.login", "tap", "login", 0);

solved I want to send information to google-analytics [closed]