To help familiarize yourself with our library, the tracking methods, and best practice implementation, we recommend that you download the Roku sample app.
The code for the sample app is available in the TealiumSample.brs and the TealiumSample.xml files. The app provides examples of adding button tracking via the supplied TealiumTask and TealiumTaskInterface files.
To install the Tealium library for Roku, use one of the two following methods:
This generates a teal object that you can run track calls on. For more information about the teal object and the TealiumBuilder class, see API Reference.
If you are not using the supplied TealiumTask and TealiumTaskInterface code, see track call
For more advanced control, we recommend that you create and initialize your own Tealium object to be able to run anything you would like. If you are only interested in firing off tracking events, we recommend that you use the supplied TealiumTask and TealiumTaskInterface.
You can use the supplied TealiumTask code by adding the following line to any component:
The brs component
You must also import the brs component for the interface.