Adds information about the app bundle to the data layer.
About the AppData module
The AppData module is a collector that automatically enriches tracking data with essential application metadata. It gathers application-specific information from the app bundle and makes it available to all tracking events.
Install
Add the prism-appdata dependency to your build.gradle file:
implementation(platform("com.tealium.prism:prism-bom:0.7.0"))
implementation("com.tealium.prism:prism-appdata")
The AppData module is included in TealiumPrismCore. Add it as a Swift Package Manager dependency using the repo URL https://github.com/Tealium/tealium-prism-swift, or add it to your Podfile for CocoaPods:
pod 'tealium-prism/Core'
To install the full Prism library instead:
pod 'tealium-prism'
Initialize
The AppData module initializes automatically when it is configured. No code changes are required for most integrations. Configure the module in the Tealium platform UI, or bundle a local JSON configuration file with your app.
Advanced: programmatic initialization
To force the module to initialize with default values, even when no platform or local JSON configuration is present, add it to the modules list in your TealiumConfig. Adding the module to TealiumConfig is useful for testing or when you need to set values dynamically at runtime.
val config = TealiumConfig.Builder(
accountName = "my_account",
profileName = "my_profile",
environment = Environment.PROD,
modules = listOf(
Modules.appData(),
// other modules...
)
).build()
let config = TealiumConfig(account: "my_account",
profile: "my_profile",
environment: "prod",
modules: [
Modules.appData(),
// other modules...
])
Data layer
The following variables are added to each tracking call while the module is enabled:
| Variable | Description | Example |
|---|---|---|
app_build | Build number of the app | "42" |
app_memory_usage | Current app memory usage | "775 MB" |
app_name | Application display name (iOS: CFBundleName; Android: android:label) | "Digital Velocity" |
app_rdns | Reverse DNS application ID (iOS: CFBundleIdentifier; Android: manifest package) | "com.tealium.digitalvelocity" |
app_uuid | Random identifier that persists for the lifetime of the app installation. Resets if the app is uninstalled. | "4AB81234-C2A8-46DE-9AED-7ACE555521E0" |
app_version | User-facing version of the app | "1.0.0" |
This page was last updated: October 16, 2026