private void _trackerApplication() { try { DataLayer mDataLayer = LazzyBeeSingleton.mDataLayer; mDataLayer.pushEvent("openScreen", DataLayer.mapOf("screenName", GA_SCREEN)); } catch (Exception e) { LazzyBeeShare.showErrorOccurred(context, "_trackerApplication", e); } }
@Override protected void onStart() { AppEventsLogger logger = uiHelper.getAppEventsLogger(); super.onStart(); logger.logEvent("Home"); mDataLayer = TagManager.getInstance(this).getDataLayer(); mDataLayer.push(DataLayer.mapOf("event", "screenVisible", "screenName", SCREEN_NAME)); EasyTracker.getInstance(this).activityStart(this); }