---
title: Adform Tag Setup Guide
description: This article describes how to set up the Adform tag in your Tealium iQ Tag Management account.
url: https://docs.tealium.com/client-side-tags/adform-tag/
---
## Tag Tips

* Uses the following E-Commerce variables
  * `_corder`
  * `_csubtotal`
  * `_ccurrency`
  * `_ccountry`
  * `_cprod`
  * `_ccat`
  * `_cquan`
  * `_cprice`

* Divider  
Tells Adform which character to use to split up the pagename.
  * The default value is the pipe character `|`.
  * Can be overridden by mapping

* Custom variables can be mapped to order-level or product-level.
  * Possible values are `sv[n]`, `svn[n] `or `var[n] `where `n` is any integer from  to `89`.

* The Purchase step must be mapped using a lookup table.
  * Step 1: Product View
  * Step 2: Basket
  * Step 3: Conversion (thank-you page)

* Custom Order / Product Vars
  * `var` – Data Object Variable
  * `sv` – String Variable
  * `svn` – Numeric Variable

### Tag Configuration

First, go to Tealium's tag marketplace and add the Adform tag (Learn more about [how to add a tag](https://docs.tealium.com/manage-tags/)).

After adding the tag, configure the following settings:

* **Tracking Setup ID**
  * Unique Client ID number generated by the Adform system.

* **Page Name**
  * Unique name for the tracking point.
  * Use variable mapping to set this dynamically.

### Data Mappings

Mapping is the process of sending data from a [data layer variable](https://docs.tealium.com/data-layer-variables/) to the corresponding destination variable of the vendor tag. For instructions on how to map a variable to a tag destination, see [Data Mappings](https://docs.tealium.com/iq-tag-management/data-mappings/manage/).

The available categories are:

#### Standard

| Variable     | Description                   |
|:-------------|:------------------------------|
| `campaignid` | Tracking Setup ID/Campaign ID |
| `page_name`  | Tracking Point Name/Page Name |
| `divider`    | Divider                       |

#### E-Commerce

| Variable              | Description                                                                     |
|:----------------------|:--------------------------------------------------------------------------------|
| `order_id`            | <ul><li>Order ID</li><li>Overrides `_corder`.</li></ul>                         |
| `order_subtotal`      | <ul><li>Subtotal</li><li>Overrides `_csubtotal`.</li></ul>                      |
| `order_status`        | <ul><li>Order Status</li></ul>                                                  |
| `order_currency`      | <ul><li>Currency</li><li>Overrides `_ccurrency`.</li></ul>                      |
| `customer_country`    | <ul><li>Country</li><li>Overrides `_ccountry`.</li></ul>                        |
| `customer_agegroup`   | <ul><li>Age Group</li></ul>                                                     |
| `customer_gender`     | <ul><li>Gender</li></ul>                                                        |
| `product_id`          | <ul><li>Array</li><li>List of Product IDs</li><li>Overrides `_cprod`.</li></ul> |
| `product_name`        | <ul><li>Array</li><li>List of Names.</li><li>Overrides `_cprodname`.</li></ul>  |
| `product_category`    | <ul><li>Array</li><li>List of Categories.</li><li>Overrides `_ccat`.</li></ul>  |
| `product_category_id` | <ul><li>Array</li><li>List of Category IDs.</li></ul>                           |
| `product_quantity`    | <ul><li>Array</li><li>List of Quantities.</li><li>Overrides `_cquan`.</li></ul> |
| `product_unit_price`  | <ul><li>Array</li><li>List of Prices.</li><li>Overrides `_cprice`.</li></ul>    |
| `product_weight`      | <ul><li>Array</li><li>List of Product Weights.</li></ul>                        |
| `step`                | <ul><li>Step</li><li>Values of `1`/ `2`/ `3`.</li></ul>                         |

#### Custom Order/Products

Custom variables can be mapped to order-level or product-level. Possible values are `sv[n]`, `svn[n] `or `var[n] `where `n` is any integer from  to `89`.

| Variable  | Description                                                      |
|:----------|:-----------------------------------------------------------------|
| `order`   | <ul><li>Order</li></ul>                                          |
| `product` | <ul><li>Product</li></ul>                                        |
| `var`     | <ul><li>Data Object Variable ranging from `1` to `10`.</li></ul> |
| `sv`      | <ul><li>String Variable, ranging from `1` to `89`.</li></ul>     |
| `svn`     | <ul><li>Numeric Variable ranging from `1` to `2`.</li></ul>      |

### Vendor Resources

* [Adform Test and Support Center](http://creative.adform.com/support/)
* [Adform Click and Tracking Pixel](http://creative.adform.com/support/documentation/good-to-know/firing-adform-click-and-tracking-pixels/)
