类型 函数 返回值 无 修订版 发行版 2024.3703 关键字 分析、归因、AppsFlyer、setHasUserConsent 另请参见 appsflyer.*
AppsFlyer 使您能够匿名 AppsFlyer 分析中的特定用户标识符。这符合最新的隐私要求,并且符合 Facebook 数据和隐私政策。
appsflyer.setHasUserConsent( Boolean )
local appsflyer = require( "plugin.appsflyer" )
local function appsflyerListener( event )
if event.phase == "init" then
appsflyer.setHasUserConsent( true )
end
end
-- Initialize plugin
appsflyer.init( appsflyerListener,
{
appID = "YOUR_APP_ID",
devKey = "YOUR_DEV_KEY"
}
)