# Shopify Dynamic Discount Codes

Share Shopify discount codes at the end of your survey to increase response rates and boost customer lifetime value.

### Option 1: Static Discount Codes

Use a single discount code shared with all respondents.

1. **Log into** your Shopify dashboard.
2. Click **Discounts → Create Discount**.
3. Create your discount code and **copy the title**.
4. Log into **Zigpoll** (Apps → Zigpoll).
5. Go to **Surveys → Select your survey → Slides**.
6. Select your **Reward** slide (or create a new one).
7. Paste the discount code into the **Reward Code** field.

### Option 2: Dynamic Discount Codes

Generate a unique one-time-use discount code for each respondent.

1. Log into **Zigpoll** (Apps → Zigpoll).
2. Go to **Surveys → Select your survey → Slides**.
3. Select your **Reward** slide (or create a new one).
4. Select **Dynamic** in the **Reward Code Type** dropdown.
5. Enter the rules for your dynamic discount (percentage or fixed amount, expiration period, etc.).

Dynamic codes are generated immediately when a customer completes your survey, preventing code sharing and abuse.

{% hint style="info" %}
For more general information about reward slides, see [Reward Slide](/tutorials/reward-slide.md). For adding discount codes with detailed instructions, see [Adding Discount Codes](/tutorials/adding-discount-codes-to-your-survey.md).
{% 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://docs.zigpoll.com/tutorials/shopify-dynamic-discount-codes.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.
