Apps Flyer
Integrate AppsFlyer analytics in your WebToNative app to track custom user IDs, log events, and retrieve the AppsFlyer device identifier.
1
2
3
getAppsFlyerAppId()
const { appsflyer: AppsFlyer } = window.WTN
AppsFlyer.getAppsFlyerAppId({
callback: function (response) {
console.log(response.appsFlyerId) // AppsFlyer unique device ID
}
})import { getAppsFlyerAppId } from "webtonative/AppsFlyer"
getAppsFlyerAppId({
callback: (response) => {
console.log(response.appsFlyerId) // AppsFlyer unique device ID
}
})Callback Response
Property
Type
Description
Example Response
{
"type": "getAppsFlyerAppId",
"appsFlyerId": "1234567890123-1234567"
}Last updated