嗨,我是 Mobile First 分析的新手。我创建了一个 Mobile First 本机 android 项目,现在我想将分析与它集成。我提到了用于分析的代码片段。
WLAnalytics.setContext(this); // 在我的活动 WLAnalytics.enable() 的 onCreate 方法中;
String json = "any";
try {
WLAnalytics.log("Custom event", new JSONObject(json));
} catch (JSONException e) {
e.printStackTrace();
}
WLAnalytics.send();
我遵循下面提到的文章