# TradeTracker

[TradeTracker](https://tradetracker.com) is an affiliate marketing network and a team of result driven affiliate professionals, devoted to performance marketing and always looking to get best results. Using this destination you can implement [server-side tracking](https://sc.tradetracker.net/implementation/overview?f\[id]=31).

## Key features

The TradeTracker destination provides the following key features:

* **Events structure**: our [Events reference](https://community.commandersact.com/platform-x/developers/tracking/events-reference) supports [TradeTracker lead and sale tracking](https://sc.tradetracker.net/implementation/overview?f\[id]=31), meaning that your data is properly bridged to the expected fields in an optimized way.
* **Prebuilt mappings**: data mapping for event-based destinations happens automatically, which simplifies user inputs.
* **Smart mapping**: data mapping can be readjusted using your datalayer defined fields.

## Destination setup

{% hint style="info" %}
Use [**Destination filters**](https://doc.commandersact.com/features/destinations/destination-filters) to refine events and/or other properties matching your specific needs.
{% endhint %}

### Configuration

| Settings                | Description                                                                                                                                                                                                                                                                                            |
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `Conversion Type`       | <p><em><strong><code>Required</code></strong></em></p><p>The conversion type that is bound with your activity. This can be either <code>Sale</code> or <code>Lead</code>.</p>                                                                                                                          |
| `Campaign Id`           | <p><em><strong><code>Required</code></strong></em><br>Your campaign identifier as provided by TradeTracker. More details are available following this <a href="https://sc.tradetracker.net/implementation/overview?f[id]=31">LINK</a>. This setting supports dynamic values <strong>\[1].</strong></p> |
| `Product Id`            | <p><em><strong><code>Required</code></strong></em><br>Your product identifier as provided by TradeTracker. More details are available following this <a href="https://sc.tradetracker.net/implementation/overview?f[id]=31">LINK</a>. This setting supports dynamic values <strong>\[1].</strong></p>  |
| `Click Id`              | <p><em><strong><code>Required</code></strong></em><br>TradeTracker click identifier value. More details are available following this <a href="https://sc.tradetracker.net/implementation/overview?f[id]=31">LINK</a>.</p>                                                                              |
| `Merchant Description`  | Merchant description value used for statistical purpose. Visible for merchant only. More details are available following this [LINK](https://sc.tradetracker.net/implementation/overview?f\[id]=31).                                                                                                   |
| `Affiliate Description` | Affiliate description value used by affiliates affiliates for campaign optimisation. Visible for affiliates only. More details are available following this [LINK](https://sc.tradetracker.net/implementation/overview?f\[id]=31).                                                                     |

{% hint style="info" %}

> **1.** This feature allows you to set an event property holding a dynamic value by adding two open braces (`{{`) in front of your property name and two close braces (`}}`) at the end (E.g. `{{myEventPropertyPathAndName}}`).
> {% endhint %}

## Quick reference

| Commanders Act Events   | TradeTracker Tracking |
| ----------------------- | --------------------- |
| `[Any events]` **\[1]** | `lead`                |
| `[Any events]` **\[1]** | `sale`                |

{% hint style="info" %}

> **1.** Use [**Destination filters**](https://doc.commandersact.com/features/destinations/destination-filters) to specify your matching events.
> {% endhint %}

## Field mappings

{% hint style="info" %}
Properties can be remapped using our [Smart Mapping](https://doc.commandersact.com/features/destinations/advanced-mapping#smart-mapping) feature.
{% endhint %}

<table><thead><tr><th width="330.6685580062746">Commanders Act Properties</th><th>TradeTracker Properties</th></tr></thead><tbody><tr><td><code>Campaign Id</code></td><td><code>cid</code> <strong>[*]</strong></td></tr><tr><td><code>Product Id</code></td><td><code>pid</code> <strong>[*]</strong></td></tr><tr><td><code>Click Id</code></td><td><code>data</code> <strong>[*]</strong></td></tr><tr><td><code>id</code></td><td><code>tid</code> <strong>[*]</strong></td></tr><tr><td><code>value</code></td><td><code>tam</code> <strong>[1]</strong></td></tr><tr><td><code>currency</code></td><td><code>currency</code></td></tr><tr><td><code>items.length</code></td><td><code>qty</code></td></tr><tr><td><code>coupon</code></td><td><code>vc</code></td></tr><tr><td><code>Merchant Description</code></td><td><code>descrMerchant</code> <strong>[2]</strong></td></tr><tr><td><code>Affiliate Description</code></td><td><code>descrAffiliate</code> <strong>[3]</strong></td></tr></tbody></table>

{% hint style="info" %}

> **\*** Mandatory property.\
> **1.** Mandatory for "Sale" conversion type.\
> **2.** Merchant description data used for statistical purpose. Visible for merchant only.\
> **3.** Affiliate description data used by affiliates for campaign optimisation. Visible for affiliates only.
> {% endhint %}


---

# 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://doc.commandersact.com/features/destinations/destinations-catalog/tradetracker.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.
