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

View File

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