A purchase lands.
The raw event arrives with a nested cart and an anonymous ID.
Customer Data Infrastructure
Connect your data to the work your team does.
Practical guidance for the people behind the data.
Transform is where collected data becomes customer context. Add your own logic, join every identity into one profile, and recalculate attributes as events arrive.
Decorative animation. Press Enter or Escape to pause or resume it.
Scroll to follow one purchase from raw event to updated profile.
The raw event arrives with a nested cart and an anonymous ID.
Nested objects are flattened before the event is processed.
FunctionsHer anonymous history joins her known profile, so nothing is left behind.
Identity ResolutionLifetime value, purchase count, and favorite category update as the event is processed.
Real-Time EnrichmentCustomer, event, and values are illustrative.
Write JavaScript that reshapes incoming events, calls your APIs and models, and returns results to the profile. Tealium runs it, with no infrastructure to stand up.
Scroll to watch one event get cleaned after it’s collected and before it’s processed.
The event reaches Tealium Collect nested, in raw units, with her email inside.
A data transformation function pulls the item out of the cart.
Her email is removed before the event is processed.
It adds a currency and a standard timestamp.
The event is processed in one consistent shape, for her profile and every tool.
Customer, event, and code are illustrative.
Clean or reshape events after collection and before processing.
Run after an event or profile update to call external APIs and models.
Send results back through the Collect API so they enrich the profile.
Flatten nested objects, remove sensitive data, or populate variables in the event object before it’s processed.
Retrieve data from other systems, add it to Tealium data, or send it to other endpoints, using stored credentials and global variables.
Functions run inside Tealium, so there are no servers to provision or patch.
What changes when your logic runs inside the platform that collects the data.
| Tags in site code | Tealium Tag Management | |
|---|---|---|
| Hosting | Servers or cloud functions you provision and patch. | Runs inside Tealium, with no servers to manage. |
| Credentials | Kept in each script’s own config. | Stored as authentication tokens and global variables. |
| Results | Custom code to push results into your tools. | Returned through the Collect API to enrich the profile. |
“Scripts you host” describes a common approach, not a specific vendor.
Scroll to follow one function from trigger to profile.
The trigger matches every purchase event that comes in.
The function calls your loyalty API with a stored token.
The result returns through the Collect API.
Loyalty tier lands on the profile, ready for audiences and connectors.
Event, API, and values are illustrative.
Identity and enrichment keep one current profile for every customer.
Each event recalculates the attributes your teams act on, like lifetime value, days since last purchase, and favorite category, so the next action starts from current context.
Create attributes like counters, tallies, dates, and badges.
Set when each enrichment runs, such as on a purchase event.
Matching events recalculate the attributes on the profile.
Open each one to see what it looks like in the app.
Lifetime value and recency update as events arrive, so the profile reflects what the customer just did.
Badges and audiences change as attributes cross the thresholds you set, firing the connectors tied to them.
Create and adjust attributes in the UI, with no code to write and no app release to wait on.
Profile, rules, and values are illustrative.
What changes when attributes recalculate as each event is processed.
Scores and totals refresh when the nightly job runs.
Attributes update as each matching event is processed.
Changing a calculation means a data engineering request.
Create and adjust attributes and enrichments without code.
Downstream tools see changes on the next export.
Badges and audiences change as thresholds are crossed, firing connectors.
“A nightly batch job” describes a common approach, not a specific vendor.

Lifetime value and recency update as events arrive.
See Real-Time EnrichmentBrowsing from before sign-in stays with the customer.
See Identity ResolutionBadges and audiences change as attributes cross the thresholds you set.
See Real-Time EnrichmentFlatten nested objects, remove sensitive fields, or fill missing values before events are processed.
See FunctionsProfiles with the same identifier merge into one, history included.
See Identity ResolutionLookups and deletion requests by an earlier anonymous ID still reach the merged profile.
See Identity ResolutionFunctions run inside Tealium, so there are no servers to provision or patch.
See FunctionsFunctions store credentials as authentication tokens and configuration as global variables.
See FunctionsRun after an event or profile update to call external APIs and models.
See FunctionsLaptop, tablet, and phone sessions merge into one profile as each one identifies.
See Identity ResolutionCreate and adjust attributes with no code to write.
See Real-Time EnrichmentFunction results return through the Collect API to enrich the profile.
See FunctionsIdentity rules and enrichments are set in the UI. Functions are there for the custom logic your developers want to own.
As each event arrives, before it reaches your tools, so they all get the same cleaned data.
Any identifier you trust, like an email address or a loyalty number.
Talk with our team about the logic, identifiers, and attributes your teams maintain today.