# Component: Campaign Promo Code Redirect (legacy)

\| **Starting with Release 104, Promo Code v1 will not accept new customers. Existing customers will be supported until they are migrated to Promo Code v2 which will be made available in release 106.** |

Use this component to display a promo code input field, and redirect the user to a specific page based on the input entered.

### Component Options

The following options will appear in the component tab of the page builder when editing this component:

**Heading**

The text to display above the input field

**Invalid Code Message**

The text to display under the input when the wrong code is entered

**Promo Code CTA Text**

The text of the button which checks the code and redirects the user

**Promo Codes**

A list of promo codes you want the user to be able to input

* **Promo Code:** The value that the user must enter to be redirected
* **Promo Campaign:** The **tag** of the page that the user should be redirected to

**Component Id**

A unique id to target the component with via CSS

### Use Case

Using this component in conjunction with pages and offers will allow the user to reach pages and pricing only available via entering the correct code.


---

# 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://docs.limio.com/components/component-library/legacy-configuration-components/component-campaign-promo-code-redirect-legacy.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.
