Collectors are modules that gather supplemental information from the device and append it to the data layer before it’s transmitted to the Tealium Customer Data Hub. Some collectors are included in the core library, while others are optional and installed as separate modules.
The following table lists the available collectors:
These modules are enabled or disabled using the TealiumConfigcollectors property.
Defines user consent preferences expiration.
The amount of time before expiration
The unit of time before expiration
new ConsentExpiry(90, TimeUnit.Days)
The following time units are available:
Defines the consent policy to adhere to. If no consent policy is defined on the TealiumConfig object, the consent manager becomes disabled.
Dispatchers are modules that send the data from your data layer to a Tealium endpoint. The following dispatchers are currently available:
At least one dispatcher is required. If no dispatchers are specified, no tracking occurs.
Defines the expiration time for setting a property that expires.
The following expiry options are available:
The lifetime of the current active session
Never expires while the app is installed
Until the app restarts
Sets the logLevel property, which controls how much information is logged.
The following logging levels are available:
Informational events that highlight the progress of the application
Debug-level events used for debugging an application
Error events such as critical errors and failures
No Logging (default)
The environment is one of three default environments (Dev, QA, Prod) or any custom environments that Tealium publishes to. Select one of these environments.