Data sources
A data source is any system that sends data to Tealium EventStream. These systems include websites, native mobile apps, or any custom application that can report event data.
Data sources are platform-specific and provide the necessary code and instructions to complete an installation.
Example types of data sources:
- JavaScript for Web (Tealium iQ Tag Management)
- iOS (Swift)
- Android
- Apple TV
- Roku
- Server-side apps (Python, Java)
- HTTP API
To add Tealium to your website or app, you first create a data source to get the code and instructions to complete the installation. Each data source has a name, description, and data source key that uniquely identifies the platform where it’s installed.
How it works
Data sources are used to easily identify and keep track of your sites and apps that send data to your account.
Here’s how it works:
- Choose the platform you want to install on–such as Swift (iOS), Android, or JavaScript for Web–and give it a name such as
mydomain.com
orMyBrandApp
. - Copy the the sample code and data source key from the installation instructions. The data source key uniquely identifies the data source you just created.
- After the code is installed with the data source key, go to Live Events to view events coming from that data source.
Example data source:
Example installation code:
var tealConfig = TealiumConfig(
account: "your_account",
profile: "your_profile",
environment: "prod",
datasource: "abc123")
let tealium = Tealium(config: tealConfig)
The next tutorial demonstrates how to add a data source to your account.
This page was last updated: April 11, 2024