# Tealium

Tealium is a Customer Data Platform that enables you to track the behavior of your website users.

The Tealium integration allows you to send the AB Tasty campaign data to Tealium.

## How Campaign Data Is Sent <a href="#h_01hdha9a1jhgfrm6rqg9nzsn5c" id="h_01hdha9a1jhgfrm6rqg9nzsn5c"></a>

AB Tasty campaign data are sent as a custom event with event parameters.:

* Event name is “**abtasty**” (tealium\_event: 'abtasty')
* Event parameter **abtasty\_campaign** contains the **Campaign ID** and **Campaign Name** formatted as **\[campaign\_id] campaign\_name**
* Event parameter **abtasty\_variation** contains the **Variation ID** and **Variation Name** formatted as **\[variation\_id] variation\_name**

The event is sent using the utag.link() method.

## How to set up the integration <a href="#h_01hdha9a1j3qxehdwyyfvgctnj" id="h_01hdha9a1j3qxehdwyyfvgctnj"></a>

1. Access **Integrations > Integration Hub**.
2. Search for and select **Tealium**.
3. Click **Setup connector.**
4. Give a name to your connector so you can easily retrieve it.
5. \[Optional] Check the box to automatically add the connector to your future campaigns.
6. Click **Save and create connector.**

If you have checked the box, the connector will be automatically added to the Advanced step of your future campaigns. However, it is not applied retroactively to previously created campaigns.

If you left the box unchecked (default behavior), your connector won't be added automatically. You can still decide to send campaign data to your connector by selecting it from the *Advanced options* step of your campaign. More information on how to link a campaign is can be found in the [Advanced Options Step ](https://docs.abtasty.com/web-experimentation-and-personalization/campaign-flow-advanced-options)article.

You can also modify this behavior from the Integration hub, by editing your connector configuration (check or uncheck box).

**Heads up ⚡**\
You must update the AB Tasty tag to make your changes live.

## Setup Event Specification in Tealium <a href="#h_01hdha9a1j00d1nq12j23bezgp" id="h_01hdha9a1j00d1nq12j23bezgp"></a>

Event specifications are used to identify and standardize the events you want to collect in your EventStream implementation.

Once a new event is collected, such as the abtasty event, it is better to set up the specifications in Tealium:

1. Go to the **Tealium interface > EventStream > Event Specifications**
2. Click **Add an Event Specification > Add custom specifications**
3. Fill the fields as follows
4. 1. Event Name: “abtasty”
   2. Add the attribute “abtasty\_campaign” with a type string
   3. Add the attribute “abtasty\_variation” with a type string\
      \\

      <figure><img src="https://support.abtasty.com/hc/article_attachments/7309048189468" alt=""><figcaption></figcaption></figure>

More information on Event Specifications [here](https://community.tealiumiq.com/t5/Getting-Started-with-EventStream/Event-Specifications/ta-p/25284).

## Verifying That AB Tasty Data Is Correctly Sent <a href="#h_01hdha9a1js190sk1fbtqbrwn5" id="h_01hdha9a1js190sk1fbtqbrwn5"></a>

Once you have set up the Tealium integration and activated it in an AB Tasty campaign you may want to verify that data is sent correctly to Tealium EventStream.

There are 2 options to do that check:

* Live Events: once a campaign is sending data to Tealium EventStream, you should be able to check the live incoming event on this interface. More information [here](https://docs.tealium.com/server-side/live-events-feeds/about-live-events/)
* Tealium Trace: this tool allows you to see if you are sending events to Tealium. The process here is to get assigned to an AB Tasty campaign and check in Trace if an event is sent to Tealium. More information [here](https://docs.tealium.com/server-side/trace/manage/).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.abtasty.com/integrations/push-integrations/tealium.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
