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()
// Java
TealiumConfig config = new TealiumConfig.Builder(/* ... */ Arrays.asList(
ContextApi.configure()
)).build();

Configuration

TODO

Packages

Link copied to clipboard

Root package and entry point for the Context API module