Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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");
like image 942
RCB Avatar asked Feb 25 '26 03:02

RCB


1 Answers

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.

p.s. EasyTracker is a subclass of Tracker

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

like image 186
Raptor Avatar answered Feb 28 '26 11:02

Raptor