简体   繁体   中英

Android: GoogleAnalytics vs EasyTracker

I didn't quite got the difference between using

EasyTracker easyTracker = EasyTracker.getInstance();

and

Tracker tracker = GoogleAnalytics.getInstance(this).getTracker("UA-XXXX-Y");

EasyTracker is a class designed to easy the burden of adding Google Analytics tracking code to your application. It runs in single thread.

In short, it is recommended to use EasyTracker .

ps EasyTracker is a subclass of Tracker

Reference: https://developers.google.com/analytics/devguides/collection/android/v3/migration

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM