Skip to main content
Transform

Raw events in.
Context out.

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.

One purchase

One purchase.
Ready to use.

Scroll to follow one purchase from raw event to updated profile.

Collected

A purchase lands.

The raw event arrives with a nested cart and an anonymous ID.

Your logic

A function cleans it up.

Nested objects are flattened before the event is processed.

Functions
Identity

It finds Sia.

Her anonymous history joins her known profile, so nothing is left behind.

Identity Resolution
Enrichment

Her profile recalculates.

Lifetime value, purchase count, and favorite category update as the event is processed.

Real-Time Enrichment

Customer, event, and values are illustrative.

Functions

Your logic.
No servers to run.

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.

Data transformation

Messy in.
Clean out.

Scroll to watch one event get cleaned after it’s collected and before it’s processed.

Collected

It arrives messy.

The event reaches Tealium Collect nested, in raw units, with her email inside.

Flatten

Flatten what’s nested.

A data transformation function pulls the item out of the cart.

Remove

Drop sensitive data.

Her email is removed before the event is processed.

Populate

Fill in the gaps.

It adds a currency and a standard timestamp.

Processed

Clean, every time.

The event is processed in one consistent shape, for her profile and every tool.

Customer, event, and code are illustrative.

Write it once. It runs on every match.

  1. Transform

    Clean or reshape events after collection and before processing.

  2. Call

    Run after an event or profile update to call external APIs and models.

  3. Return

    Send results back through the Collect API so they enrich the profile.

Custom logic without the ops.

  • Fix data before it lands.

    Flatten nested objects, remove sensitive data, or populate variables in the event object before it’s processed.

  • Bring in data from other systems

    Retrieve data from other systems, add it to Tealium data, or send it to other endpoints, using stored credentials and global variables.

  • Nothing to host.

    Functions run inside Tealium, so there are no servers to provision or patch.

Read the Functions docs
Compared

Scripts you host,
or Functions.

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.

In action

One function.
Every event it matches.

Scroll to follow one function from trigger to profile.

Matches

It catches a purchase.

The trigger matches every purchase event that comes in.

Calls

It asks your API.

The function calls your loyalty API with a stored token.

Returns

It sends the answer back.

The result returns through the Collect API.

Enriched

The profile carries the tier.

Loyalty tier lands on the profile, ready for audiences and connectors.

Event, API, and values are illustrative.

One customer.
One record.

Identity and enrichment keep one current profile for every customer.

  • Before sign-in Anonymous browsing stays with the customer once she identifies.
  • Every device Laptop, tablet, and phone sessions merge into one profile.
  • Earlier IDs Lookups and deletion requests by an old anonymous ID still reach her profile.
  • Every match Matching events recalculate the attributes your teams act on.
Real-Time Enrichment

Every event
updates the profile.

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.

Set the rule. Each event does the math.

  1. Define

    Create attributes like counters, tallies, dates, and badges.

  2. Rule

    Set when each enrichment runs, such as on a purchase event.

  3. Update

    Matching events recalculate the attributes on the profile.

Read the attributes docs
Why it matters

Context that’s
ready to use.

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.

Profile, rules, and values are illustrative.

Compared

Overnight batch,
or every event.

What changes when attributes recalculate as each event is processed.

A nightly batch job:

Yesterday’s numbers

Scores and totals refresh when the nightly job runs.

Tealium Real-Time Enrichment:

Current numbers

Attributes update as each matching event is processed.

A nightly batch job:

A ticket per change

Changing a calculation means a data engineering request.

Tealium Real-Time Enrichment:

Rules in the UI

Create and adjust attributes and enrichments without code.

A nightly batch job:

Exports to act on

Downstream tools see changes on the next export.

Tealium Real-Time Enrichment:

Signals that fire

Badges and audiences change as thresholds are crossed, firing connectors.

“A nightly batch job” describes a common approach, not a specific vendor.

By team

Transform for
every team.

FAQ

Do we need engineers for this?

Identity rules and enrichments are set in the UI. Functions are there for the custom logic your developers want to own.

When does transformation happen?

As each event arrives, before it reaches your tools, so they all get the same cleaned data.

Which identifiers can link profiles?

Any identifier you trust, like an email address or a loyalty number.

Give every action
current context.

Talk with our team about the logic, identifiers, and attributes your teams maintain today.

Submitted! Thank you!