引导打点添加,打点account字段改为字符串类型

dev_chengFeng
gaoxin 2020-07-25 17:08:56 +08:00
parent 3ef98155b5
commit 2947a10e03
2 changed files with 6 additions and 2 deletions

View File

@ -118,6 +118,10 @@ end
function this.ShowGuide(id, ...) function this.ShowGuide(id, ...)
-- 引导数据打点 -- 引导数据打点
DataCenterManager.CommitClickStatus(Language[10839], tostring(id)) DataCenterManager.CommitClickStatus(Language[10839], tostring(id))
ThinkingAnalyticsManager.Track("guild", {
step_id = id,
guild_start_time = GetTimeStamp(),
})
-- 引导结束回调 -- 引导结束回调
local function onGuideClose() local function onGuideClose()
if GuideConfig[id].Type == GuideType.Force then if GuideConfig[id].Type == GuideType.Force then
@ -134,7 +138,7 @@ function this.ShowGuide(id, ...)
end end
-- 监听下一步引导 -- 监听下一步引导
if GuideConfig[id].Next ~= 0 then if GuideConfig[id].Next ~= 0 then
this.CheckNextGuideListen(GuideConfig[id].Next) this.CheckNextGuideListen(GuideConfig[id].Next)
end end
-- 开始功能引导 -- 开始功能引导

View File

@ -67,7 +67,7 @@ function this.LoginRequest(openId, func)
ThinkingAnalyticsManager.SetDistinctId(AppConst.OpenId) ThinkingAnalyticsManager.SetDistinctId(AppConst.OpenId)
ThinkingAnalyticsManager.SetSuperProperties({ ThinkingAnalyticsManager.SetSuperProperties({
server_id = LoginManager.ServerId, server_id = LoginManager.ServerId,
account = AppConst.OpenId, account = tostring(AppConst.OpenId),
["Bundle-id"] = AppConst.SdkPackageName, ["Bundle-id"] = AppConst.SdkPackageName,
xx_id = AppConst.SdkChannel xx_id = AppConst.SdkChannel
}) })