Iterable's Roku SDK automatically tracks various system events. It can also track custom events.
In this article
System events
Iterable's Roku SDK automatically tracks the following events:
- In-App Delivery - When your channel fetches an in-app message from the server.
- In-App Open - When your channel displays an in-app message.
- In-App Click - When a user clicks a button on an in-app message.
- In-App Close - When a user dismisses an in-app message.
System events created with Iterable's Roku SDK have platform
set to OTT
and
appPackageName
set to your channel's package name.
To view events for a specific user, pull up their Iterable user profile, or call one of the following API endpoints:
Or, to see recent events, look at your project's events log by navigating to Insights > Events.
NOTE
Events that occur when a Roku device is offline are dropped.
Custom events
To track a custom event, call ItblCustomEventTrack
, which is declared in
itblHelpers.brs
. Pass in a custom event name and any data you want to store in
the event's dataFields
:
ItblCustomEventTrack("customEventName", {"field":"value"})
NOTE
Unlike system events, custom events do not have platform
set to
OTT
or appPackageName
set to your channel's package name.