> For the complete documentation index, see [llms.txt](https://help.daasity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.daasity.com/core-concepts/custom-data-and-enrichment/custom-attributes/e-commerce/discount-code-mapping.md).

# Discount Code Mapping

<figure><img src="/files/raQjGJxLTO6I1ufCIdzK" alt=""><figcaption><p>Enter your Discount Codes and the Channel and Vendor to Attribute them To</p></figcaption></figure>

### Enter the Discount Code

### Choose the Channel to Attribute the Code with

### Choose the Vendor to Attribute the Code with

{% hint style="warning" %}
**You Can add Channels and Vendors in the** [**Configuration** ](broken://pages/8ffCoCBSwrIZYJ3r4hb9)**tab**
{% endhint %}

### You can use the \* as a wildcard feature for commonly used Prefixes or Suffixes.&#x20;

For Example:

If you use a loyalty program that uses the same Prefix each time a code is generated

LP12345

LP56789

LP89697&#x20;

**Inputting LP\* will attribute each of the codes to same Channel/Vendor**

## Where To Find Your Data

### [Order and Order Line Revenue Explore](/core-concepts/data-models/data-explores/digital-analytics-unified/ecommerce-orders-and-revenue-by-order-date-explore.md)

<figure><img src="/files/FOLCjGwmrf5bM4AvQMnd" alt=""><figcaption><p>Order and Order Line Revenue Explore</p></figcaption></figure>

<figure><img src="/files/5xOQmrWuKrm6n0kK2ahr" alt=""><figcaption><p>Order and Order Line Revenue Explore</p></figcaption></figure>

## Attribution Deep Dive Dashboard

<figure><img src="/files/ArTrWTvbAqYZPbdoXcwE" alt=""><figcaption><p>Attribution Deep Dive Dashboard</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.daasity.com/core-concepts/custom-data-and-enrichment/custom-attributes/e-commerce/discount-code-mapping.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
