adjust事件

This commit is contained in:
chenxi 2023-06-19 09:56:07 +08:00
parent 8032ca378d
commit 0988c47259
2 changed files with 6 additions and 7 deletions

View File

@ -221,14 +221,14 @@ function BIReport:setIsNewPlayer(isNewPlayer)
end end
-- adjust -- adjust
function BIReport:postAdjustSimpleTrackEvent(eventName, eventValue) function BIReport:postAdjustSimpleTrackEvent(eventName)
if not Platform:getIsPublishChannel() or EDITOR_MODE then if not Platform:getIsPublishChannel() or EDITOR_MODE then
return return
end end
if not eventName or not eventValue then if not eventName then
return return
end end
CS.BF.BFMain.Instance.SDKMgr.BFThirdReportSDKMgr:PostAdjustSimpleTrackEvent(eventName, json.encode(eventValue)) CS.BF.BFMain.Instance.SDKMgr.BFThirdReportSDKMgr:PostAdjustSimpleTrackEvent(eventName)
end end
function BIReport:postAdjustAdRevenueAppLovinMAX(revenue, networkName, adUnitIdentifier, placement) function BIReport:postAdjustAdRevenueAppLovinMAX(revenue, networkName, adUnitIdentifier, placement)
@ -360,11 +360,11 @@ function BIReport:postPurchase(price, content, originOrderId, orderId)
-- 上报付费到adjust -- 上报付费到adjust
if Platform:isIosPlatform() then if Platform:isIosPlatform() then
self:postAdjustSimpleTrackEvent("rumq9q", {}) self:postAdjustSimpleTrackEvent("rumq9q")
else else
self:postAdjustSimpleTrackEvent("xzqrsb", {}) self:postAdjustSimpleTrackEvent("xzqrsb")
end end
-- CS.BF.BFMain.Instance.SDKMgr.BFThirdReportSDKMgr:PostAdjustRevenueTrackEvent("naoyh8", price, "USD") CS.BF.BFMain.Instance.SDKMgr.BFThirdReportSDKMgr:PostAdjustRevenueTrackEvent("naoyh8", price, "USD")
end end
-- 上报等级提升事件,单独处理,只上报到AF和FB,不上报数数 -- 上报等级提升事件,单独处理,只上报到AF和FB,不上报数数

View File

@ -26,7 +26,6 @@ end
---- 登录界面资源加载完毕后调用 ---- 登录界面资源加载完毕后调用
function LoginManager:loginGame() function LoginManager:loginGame()
-- adjust 打开应用事件识别码
ModuleManager.MaincityManager:firstEnterMainCity() ModuleManager.MaincityManager:firstEnterMainCity()
end end