contextapi
The Context API module provides support for real-time visitor personalization using Tealium's Context API Server Side technology.
Fetching an engine response requires the visitor ID, so fetchEngineResponse fails with ModuleNotEnabledException while the VisitorId module is disabled. A request still in progress when the Context API module shuts down fails with ModuleShutdownException.
Getting started
To set up the Context API module, simply add the Context API ModuleFactory to your TealiumConfig
// Kotlin
val config = TealiumConfig.Builder(/* ... */ modules = listOf(
Modules.contextApi()
)).build()Content copied to clipboard
// Java
TealiumConfig config = new TealiumConfig.Builder(/* ... */ Arrays.asList(
ContextApi.configure()
)).build();Content copied to clipboard
Configuration
TODO