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 (iQ TMS)
- Swift (iOS)
- Android
- Apple TV
- Roku
- 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 the Tealium Customer Data Hub.
Here’s how it works:
- First you choose the platform where Tealium will be installed, such as Swift (iOS), Android, or JavaScript for Web, and give it a name like
mydomain.com
orMyBrandApp
. - Upon creating the data source in the Customer Data Hub, you will be provided installation instructions with sample code and a unique value called a data source key. The data source key is used in the installation code to match it to the data source you just created.
- Once the code is installed with the data source key, you can view Live Events to easily identify 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)
Click Next to see how to add a data source to your account.
This page was last updated: February 21, 2023