Apps Flyer

You'll need to import the javascript file in your website before starting from this .

1) setCustomerUserId(userId) To Set Custom User Id

const { appsflyer: AppsFlyer } = window.WTN

AppsFlyer.setCustomerUserId("CUSTOM_USER_ID")

2) logEvent(eventName, eventValues) To Push Event

const { appsflyer: AppsFlyer } = window.WTN

AppsFlyer.logEvent("ADD_TO_CART",{
    name:"Cadburry",
    quantity:1
})

Last updated