Facebook App Events API
Track user actions with the WebToNative Facebook App Events API. Integrate event logging to measure app engagement and conversions.
Automatically Logged Events
Manually Log Events(Custom Events)
const { events: FacebookEvents} = window.WTN.facebook
FacebookEvents.send({
event: "MY_EVENT",
valueToSum: 10, //optional
parameters: { // optional
name: "webtonative"
}
})
import { send } from "webtonative/Facebook/events"
send({
event: "MY_EVENT",
valueToSum: 10, //optional
parameters: { // optional
name: "webtonative"
}
})
Last updated