> For the complete documentation index, see [llms.txt](https://docs.antsomi.com/developers-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.antsomi.com/developers-guide/website/tracking-events/gtm-sample-e-commerce-events/apply-promotion-code.md).

# Apply Promotion Code

<figure><img src="/files/qlf0J2yziL1Mac48NpCn" alt=""><figcaption><p>Apply Promotion Code</p></figcaption></figure>

## Create the Antsomi Pixel tag

In workspace > Tags > News > Antsomi pixel template

<figure><img src="/files/jriXrE3pX5oOiytjJ0qD" alt=""><figcaption><p>Choose Antsomi pixel template</p></figcaption></figure>

### 1. Promotion Variables option 'Single Entry'

<figure><img src="/files/GiFan70ENORUNmVbBWm3" alt=""><figcaption><p>Apply Promotion Code - Promotion Variables option 'Single Entry'</p></figcaption></figure>

* Example Variable for Promotion

<table><thead><tr><th width="303">Name Variable</th><th width="260">Description</th><th>Example</th></tr></thead><tbody><tr><td>{{CDP - Data - Promotion - Code}}</td><td>The applied promotion code text value.</td><td>ANT250OFF</td></tr><tr><td>{{CDP - Data - Property ID}}</td><td>Hard-coded value: <code>{{cdp_property_id}}</code></td><td>565999868</td></tr></tbody></table>

{% hint style="warning" %}
Please contact our supports team to have the value of the `{{cdp_property_id}}`
{% endhint %}

* Example Variables for Purchase

<table><thead><tr><th width="303">Name Variable</th><th width="260">Description</th><th>Example</th></tr></thead><tbody><tr><td>{{CDP - Data - Purchase - ID}}</td><td>The order ID</td><td>#2868</td></tr></tbody></table>

* Example Variables for Customer

<table><thead><tr><th width="317">Name Variable</th><th width="247">Description</th><th>Example</th></tr></thead><tbody><tr><td>{{CDP - Data - Customer - ID}}</td><td>The customer ID. Required (*)</td><td>4564</td></tr><tr><td>{{CDP - Data - Customer - Name}}</td><td>The identified user’s full name. Required (*)</td><td>Abcd</td></tr><tr><td>{{CDP - Data - Customer - Email}}</td><td>The identified user’s email in lowercase.</td><td>abcd@example.com</td></tr><tr><td>{{CDP - Data - Customer - Phone}}</td><td>The formatted user’s phone.</td><td>098xxxx</td></tr></tbody></table>
