This commit is contained in:
@ -1064,6 +1064,24 @@ public class LogUtils {
|
||||
LoghubUtils.log(object, "event", false);
|
||||
}
|
||||
|
||||
public static void logGameDetailFixedTopArticleClick(String gameId, String gameName, String url) {
|
||||
JSONObject object = new JSONObject();
|
||||
try {
|
||||
object.put("event", "game_detail_click_top_strategy");
|
||||
object.put("game_id", gameId);
|
||||
object.put("game_name", gameName);
|
||||
object.put("top_strategy_url", url);
|
||||
object.put("meta", getMetaObject());
|
||||
object.put("timestamp", System.currentTimeMillis() / 1000);
|
||||
} catch (JSONException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
if (BuildConfig.DEBUG) {
|
||||
Utils.log("LogUtils->" + object.toString());
|
||||
}
|
||||
LoghubUtils.log(object, "event", false);
|
||||
}
|
||||
|
||||
public static void logHomeTopTabClick(String tabName, String linkType, String linkTitle, int sequence) {
|
||||
JSONObject object = new JSONObject();
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user