---
title: "Transform"
id: "98749"
type: "page"
slug: "transform"
published_at: "2026-12-02T01:06:46+00:00"
modified_at: "2026-12-02T14:02:12+00:00"
url: "https://tealium.com/products/transform/"
markdown_url: "https://tealium.com/products/transform.md"
---

[Skip to main content](#main-content)
[https://tealium.com/](https://tealium.com/)

 ProductsSolutionsIntegrationsResourcesCompany[Customers](/customers/)

 Language

[Deutsch](https://tealium.com/de)
[Français](https://tealium.com/fr)
[Español](https://tealium.com/es)
[日本語](https://tealium.com/ja)

[Login](https://my.tealiumiq.com/)
[Get a Demo](/cdh-demo-2/)

    Menu

## Products

Customer Data Infrastructure

### [AI](/products/ai/)

[MCP new](/products/ai/#mcp)
[Edge AI new](/products/ai/#edge-ai)
[Skills](/products/ai/#skills)
[Studio new](/products/ai/#studio)

### [Collect](/products/collect/)

[Tag Management](/products/collect/#tag-management)
[Event Streaming](/products/collect/#event-streaming)
[Mobile SDK new](/products/collect/#mobile-sdk)
[Zero-Party Data](/products/collect/#zero-party-data)

### [Transform](/products/transform/)

[Functions](/products/transform/#functions)
[Identity Resolution](/products/transform/#identity-resolution)
[Real-Time Enrichment](/products/transform/#real-time-enrichment)

### [Activate](/products/activate/)

[Reverse ETL](/products/activate/#reverse-etl)
[Context API](/products/activate/#context-api)
[Profiles](/products/activate/#profiles)

### [Observe](/products/observe/)

[Trace](/products/observe/#trace)
[Analyze](/products/observe/#analyze)
[Store](/products/observe/#store)

## Solutions

Connect your data to the work your team does.

### Industries

[Automotive](https://tealium.com/industry-automotive/)
[Banking](https://tealium.com/industry-banking/)
[Education](https://tealium.com/industry-education/)
[Financial Services](https://tealium.com/industry-financial-services/)
[Gaming](https://tealium.com/industry-gaming/)
[Healthcare](https://tealium.com/industry-healthcare/)
[Insurance](https://tealium.com/industry-insurance-companies/)
[Pharma](https://tealium.com/industry-pharma/)
[Retail](https://tealium.com/industry-retail/)
[Hospitality](https://tealium.com/industry-travel-hospitality/)

### Teams

[Data](/teams/data/)
[Marketing](/teams/marketing/)
[Technology](/teams/technology/)
[Product](/teams/product/)

### Use Cases

[Growth & Acquisition](/solutions-growth-acquisition/)
[Loyalty & Retention](/solutions-loyalty-retention/)
[Customer Experience & Personalization](/solutions-customer-experience-personalization/)
[Predictive Insights & Customer Analytics](/solutions-predictive-insights-customer-analytics/)
[Data Collection & Privacy](/solutions-data-collection-privacy/)
[Unified Customer Profile](/solutions-single-customer-view/)
[Operationalizing Mobile Data](/products/tealium-for-mobile/)

## Integrations

### Integrations

[Intergrations Overview](/integrations-overview/)
[Integrations Marketplace](/integrations/)
[Cloud Data Warehouse Partner Ecosystem](/integrations-customer-data-warehouse-partner-ecosystem/)
[Conversion API (CAPI) Integrations](/tealiums-suite-of-conversions-apis-capi/)
[Snowflake Audience Discovery App](/audience-discovery-app-snowflake/)

## Resources

Practical guidance for the people behind the data.

### RESOURCES

[Resource Library](/resources/)
[Demo Center](https://tealium.com/tech-demos/)
[CDP RFP Guide](/cdp-rfp-template/)
[Events & Webinars](/events/)
[Case Studies](/resources/?resource_type=case-study&sortdir=desc#listing)
[Blog](/blog/)

### [Customer Success](/industry-insurance-companies/)

[Support Overview](/customer-support-packages/)
[Support Desk](https://support.tealiumiq.com/en/support/home)
[Customer Community](https://tealium.customershome.com/login?returnUrl=%2F)
[Tealium Education](/tealium-education/)

### Developer

[Developer Center](https://tealium.com/developer-center/)
[Developer Overview](https://tealium.com/docs-overview/)
[Product Docs](https://docs.tealium.com/)
[AI Masterclass](https://tealium.com/ai-masterclass-registration/)

## Company

### Company

[About Us](/company/)
[Leadership](/company/leadership/)
[Newsroom](/news/)
[Brand](/company/brand-assets/)
[Careers](/careers/)
[Contact Us](/contact/)

### Partners

[Tealium Partner Network](https://tealium.com/tealium-partner-network/)
[Find a Tealium Partner](https://tealium.com/partners/)
[Join the Tealium Partner Network](https://tealium.com/become-agency-partner/)
[Integrations Marketplace](https://tealium.com/integrations/)

## Customers

 Products### [AI](/products/ai/)

[MCP new](/products/ai/#mcp)
[Edge AI new](/products/ai/#edge-ai)
[Skills](/products/ai/#skills)
[Studio new](/products/ai/#studio)

### [Collect](/products/collect/)

[Tag Management](/products/collect/#tag-management)
[Event Streaming](/products/collect/#event-streaming)
[Mobile SDK new](/products/collect/#mobile-sdk)
[Zero-Party Data](/products/collect/#zero-party-data)

### [Transform](/products/transform/)

[Functions](/products/transform/#functions)
[Identity Resolution](/products/transform/#identity-resolution)
[Real-Time Enrichment](/products/transform/#real-time-enrichment)

### [Activate](/products/activate/)

[Reverse ETL](/products/activate/#reverse-etl)
[Context API](/products/activate/#context-api)
[Profiles](/products/activate/#profiles)

### [Observe](/products/observe/)

[Trace](/products/observe/#trace)
[Analyze](/products/observe/#analyze)
[Store](/products/observe/#store)

 Solutions### Industries

[Automotive](https://tealium.com/industry-automotive/)
[Banking](https://tealium.com/industry-banking/)
[Education](https://tealium.com/industry-education/)
[Financial Services](https://tealium.com/industry-financial-services/)
[Gaming](https://tealium.com/industry-gaming/)
[Healthcare](https://tealium.com/industry-healthcare/)
[Insurance](https://tealium.com/industry-insurance-companies/)
[Pharma](https://tealium.com/industry-pharma/)
[Retail](https://tealium.com/industry-retail/)
[Hospitality](https://tealium.com/industry-travel-hospitality/)

### Teams

[Data](/teams/data/)
[Marketing](/teams/marketing/)
[Technology](/teams/technology/)
[Product](/teams/product/)

### Use Cases

[Growth & Acquisition](/solutions-growth-acquisition/)
[Loyalty & Retention](/solutions-loyalty-retention/)
[Customer Experience & Personalization](/solutions-customer-experience-personalization/)
[Predictive Insights & Customer Analytics](/solutions-predictive-insights-customer-analytics/)
[Data Collection & Privacy](/solutions-data-collection-privacy/)
[Unified Customer Profile](/solutions-single-customer-view/)
[Operationalizing Mobile Data](/products/tealium-for-mobile/)

 Integrations### Integrations

[Intergrations Overview](/integrations-overview/)
[Integrations Marketplace](/integrations/)
[Cloud Data Warehouse Partner Ecosystem](/integrations-customer-data-warehouse-partner-ecosystem/)
[Conversion API (CAPI) Integrations](/tealiums-suite-of-conversions-apis-capi/)
[Snowflake Audience Discovery App](/audience-discovery-app-snowflake/)

 Resources### RESOURCES

[Resource Library](/resources/)
[Demo Center](https://tealium.com/tech-demos/)
[CDP RFP Guide](/cdp-rfp-template/)
[Events & Webinars](/events/)
[Case Studies](/resources/?resource_type=case-study&sortdir=desc#listing)
[Blog](/blog/)

### [Customer Success](/industry-insurance-companies/)

[Support Overview](/customer-support-packages/)
[Support Desk](https://support.tealiumiq.com/en/support/home)
[Customer Community](https://tealium.customershome.com/login?returnUrl=%2F)
[Tealium Education](/tealium-education/)

### Developer

[Developer Center](https://tealium.com/developer-center/)
[Developer Overview](https://tealium.com/docs-overview/)
[Product Docs](https://docs.tealium.com/)
[AI Masterclass](https://tealium.com/ai-masterclass-registration/)

 Company### Company

[About Us](/company/)
[Leadership](/company/leadership/)
[Newsroom](/news/)
[Brand](/company/brand-assets/)
[Careers](/careers/)
[Contact Us](/contact/)

### Partners

[Tealium Partner Network](https://tealium.com/tealium-partner-network/)
[Find a Tealium Partner](https://tealium.com/partners/)
[Join the Tealium Partner Network](https://tealium.com/become-agency-partner/)
[Integrations Marketplace](https://tealium.com/integrations/)

 [Customers](/customers/)
 Language

[Deutsch](https://tealium.com/de)
[Français](https://tealium.com/fr)
[Español](https://tealium.com/es)
[日本語](https://tealium.com/ja)

[Login](https://my.tealiumiq.com/)
[Get a Demo](/cdh-demo-2/)

 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.

1. [Your Logic Functions Run your own JavaScript on events and profiles, with no servers to manage.](#functions)
2. [Identities Identity Resolution Join anonymous and known activity into one persistent profile.](#identity-resolution)
3. [Attributes Real-Time Enrichment Recalculate lifetime value, recency, and favorite category as matching events arrive.](#real-time-enrichment)

   On this page [Functions](#functions)
[Identity Resolution](#identity-resolution)
[Real-Time Enrichment](#real-time-enrichment)

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](#functions)

Identity### It finds Sia.

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

[Identity Resolution](#identity-resolution)

Enrichment### Her profile recalculates.

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

[Real-Time Enrichment](#real-time-enrichment)

**Sia**Purchase to profileRaw

Collected: a raw cart event

**Raw**`cart: { items: [1] }`Straight from collection

**Reshaped**`sku: "JKT-L"`Functions

**Identified**`a-71f3 → Sia`Identity Resolution

**Updated**`lifetime_value: 363.00 412.00 +49.00`Real-Time Enrichment

What changed on her profile**+49.00**lifetime value**1**identity joined**1**event reshaped

The next audience check, lookup, or connector reads the updated profile.

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.

Collected: nested, raw units, and her email

Event, as collected{ "data": { "udo": { "cart": { "items": [{ "productSku": "cap-m", "unitPrice": 3500 }] }, "userEmail": "sia@example.com", "timestamp": 1795127400 } }, …31 more fields }

Data transformation function// runs after Collect receives the event

Clean event{ // nothing clean yet "sku": "CAP-M", "price": 35.00, "currency": "USD", "ts": "2026-11-19T22:30:00Z"}

Customer, event, and code are illustrative.

### Write it once. It runs on every match.

1. 01### Transform Clean or reshape events after collection and before processing.
2. 02### Call Run after an event or profile update to call external APIs and models.
3. 03### 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](https://docs.tealium.com/server-side/functions/about/)

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.

{ }**Loyalty lookup**FunctionMatched

*trigger:* event is purchase*event:* "purchase", c-4821*GET:* /loyalty/c-4821, stored token*return:* loyalty_tier "gold"

**Loyalty tier**Gold**Audience**Gold members

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](https://docs.tealium.com/server-side/attributes/enrichments/about-enrichment-rules/)

Why it matters### Context that’s ready to use.

Open each one to see what it looks like in the app.

#### No overnight batch.

Lifetime value and recency update as events arrive, so the profile reflects what the customer just did.

#### Signals your systems can act on.

Badges and audiences change as attributes cross the thresholds you set, firing the connectors tied to them.

#### Built by your team.

Create and adjust attributes in the UI, with no code to write and no app release to wait on.

SiaUpdated

Lifetime value363 → 412Days since purchase41 → 0Purchase count5 → 6

Try itLifetime value over 400Rule

Lifetime valuePurchase countDays since purchaseis greater than

Sia’s lifetime value is 412, over 400. She qualifies.

**Badge**VIP assigned**Audience**Joined High value**Email connector**Triggered

New attributeNumber

NameLifetime valueEnrichmentIncrease by totalWhenevent is purchase

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

Tealium Real-Time Enrichment

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.

MarketingDataTechnologyProduct

- ### Act on lifetime value. Lifetime value and recency update as events arrive. [See Real-Time Enrichment](#real-time-enrichment)
- ### Start from the full history. Browsing from before sign-in stays with the customer. [See Identity Resolution](#identity-resolution)
- ### Audiences that keep up. Badges and audiences change as attributes cross the thresholds you set. [See Real-Time Enrichment](#real-time-enrichment)

- ### Fix data before it lands. Flatten nested objects, remove sensitive fields, or fill missing values before events are processed. [See Functions](#functions)
- ### One record per customer. Profiles with the same identifier merge into one, history included. [See Identity Resolution](#identity-resolution)
- ### Old IDs still resolve. Lookups and deletion requests by an earlier anonymous ID still reach the merged profile. [See Identity Resolution](#identity-resolution)

- ### Nothing to host. Functions run inside Tealium, so there are no servers to provision or patch. [See Functions](#functions)
- ### Credentials kept as tokens. Functions store credentials as authentication tokens and configuration as global variables. [See Functions](#functions)
- ### Call your APIs and models. Run after an event or profile update to call external APIs and models. [See Functions](#functions)

- ### Every device counts. Laptop, tablet, and phone sessions merge into one profile as each one identifies. [See Identity Resolution](#identity-resolution)
- ### Change rules in the UI. Create and adjust attributes with no code to write. [See Real-Time Enrichment](#real-time-enrichment)
- ### Results back on the profile. Function results return through the Collect API to enrich the profile. [See Functions](#functions)

## 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.

[Get a Demo](https://tealium.com/cdh-demo-2/)
[Back to Transform Overview](#transform-top)

### Submitted! Thank you!
