AppData Module
Gathers important information about the app bundle.
Usage
The AppData module gathers important information about the app bundle. Usage of this module is recommended, but not mandatory. If you choose to exclude it, the data layer variables are not included in tracking calls.
The following platforms are supported:
- iOS
- macOS
- watchOS
- tvOS
Install
Install the AppData module with CocoaPods or Carthage.
CocoaPods
To install the AppData module with CocoaPods, add the following pod to your Podfile:
pod 'tealium-swift/TealiumAppData'
The framework is auto-instantiated. It has a dependency on the TealiumCore
pod. Learn more about CocoaPods installation for iOS.
Carthage
To install the AppData module with Carthage, following these steps:
-
Go to the app target’s General configuration page in Xcode.
-
Add the following framework to the Embedded Binaries section:
TealiumAppData.framework
The framework is auto-instantiated. It has a dependency on TealiumCore
. No additional import statements are necessary. Learn more about Carthage installation for iOS.
Data Layer
The following variables are transmitted with each tracking call while the module is enabled:
Variable | Description | Example |
---|---|---|
app_build |
Minor build version of the app | "2213" |
app_name |
Name of the app (usually same as App Store name) | "Digital Velocity" |
app_rdns |
Fully-qualified name of the app bundle | "com.tealium.digitalvelocity" |
app_uuid |
Random uuid. Persists for the duration of the app install, so long as one of the persistent storage modules is also enabled. Resets if app is uninstalled. | 123e4567-e89b-12d3-a456-"426655440000" |
app_version |
Version of the app bundle | "1.0" |
tealium_visitor_id |
Persistent Tealium visitor ID | "123e4567e89b12d3a456426655440000" |
This page was last updated: January 7, 2023