> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ocular.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Discount Code Mapping

> Map promo and discount codes to the campaigns, influencers, and creators they belong to so discounts attribute cleanly across Ocular marketing reports.

Discount Code Mapping is the lookup that tells Ocular which campaign, creator, or partnership each promo code belongs to. Once uploaded, every order with a code attached can be attributed to the right marketing activity — making influencer ROI, campaign-level contribution, and code-driven discount depth fall out of the existing dashboards.

<CardGroup cols={2}>
  <Card title="What it captures" icon="circle-info">
    Promotional codes and campaign attribution — code, owning campaign or creator, valid period, and intended use.
  </Card>

  <Card title="How to upload" icon="file-arrow-up">
    Go to **Data Management → Brand Data → Discount Code Mapping**. Download the template, fill it in, and upload the CSV.
  </Card>
</CardGroup>

<Note>
  The template fields and validation rules are listed on the upload screen alongside the **Download Template** button.
</Note>
