我想发送非互动事件,以便不会在会话中计算?在Google Analytics for Google'有这样的选择,但在Android中找不到类似的东西。任何线索都会有所帮助。感谢
答案 0 :(得分:1)
终于搞定了,但是没有文件存在。
Tracker t = mApplication.getTracker(TrackerName.APP_TRACKER);
// Build and send an Event.
t.send(new HitBuilders.EventBuilder().setCategory(category)
.setAction(action).setLabel(label).setNonInteraction(true).build());