> For the complete documentation index, see [llms.txt](https://docs.zigpoll.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zigpoll.com/tutorials/adding-discount-codes-to-your-survey.md).

# Adding discount codes to your survey

Zigpoll comes with support for Shopify discount codes

Offering a discount code can drastically increase the % of visitors who fully respond to surveys, with many brands able to drive a 30%+ response rates after adding discount codes.

{% embed url="<https://youtu.be/azfPBlpEoWs>" %}

Discount codes live on a **Promo Code** question. Open your survey, go to **Questions**, and select your Promo Code question, or click **New Question** and choose **Promo Code**.

#### Adding a Static Discount Code to your survey

1. Make sure your coupon code is live in Shopify. Here's their [tutorial ](https://help.shopify.com/en/manual/discounts)on discount codes
2. Select the **Promo Code** question in the question editor

<figure><img src="https://1643988190-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZpanNFqg3aCUZgXh3X%2Fuploads%2Fgit-blob-4883d15b21033d66b471af14b9134d88469a8e31%2Fpromo-question-type.png?alt=media" alt="Promo Code in the question type picker"><figcaption></figcaption></figure>

3. Set **Reward Type** to **Static**

<figure><img src="https://1643988190-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZpanNFqg3aCUZgXh3X%2Fuploads%2Fgit-blob-04896c88736a98f70d323f85d0867136fee58bed%2Fpromo-reward-type-static.png?alt=media" alt="Reward type set to Static" width="681"><figcaption></figcaption></figure>

4. Type in your static reward code in the **Reward Code** box

<figure><img src="https://1643988190-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZpanNFqg3aCUZgXh3X%2Fuploads%2Fgit-blob-ab87e9ebab253f2f6f6bf3929e7a757664cf7647%2Fpromo-reward-code.png?alt=media" alt="The Reward code field" width="681"><figcaption></figcaption></figure>

5. Press **Update Question** to save your changes

<figure><img src="https://1643988190-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZpanNFqg3aCUZgXh3X%2Fuploads%2Fgit-blob-0f57c011ab0a7edc10176217f41d7cf67c57865b%2Fupdate-question-button.png?alt=media" alt="The Update Question button" width="620"><figcaption></figcaption></figure>

#### Adding dynamic discount codes

Dynamic discounts create a one-time use discount code per respondent once they reach the Promo Code question. Each code can be used once, by one customer. It appears in Shopify **Discounts** titled `[Zigpoll]` followed by the code.

1. Select the **Promo Code** question in the question editor

<figure><img src="https://1643988190-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZpanNFqg3aCUZgXh3X%2Fuploads%2Fgit-blob-4883d15b21033d66b471af14b9134d88469a8e31%2Fpromo-question-type.png?alt=media" alt="Promo Code in the question type picker"><figcaption></figcaption></figure>

2. Set **Reward Type** to **Dynamic** (or **Free Shipping** for a free shipping code)

<figure><img src="https://1643988190-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZpanNFqg3aCUZgXh3X%2Fuploads%2Fgit-blob-a7da928d7d7cad1a67ccfdfc2c529345403293ee%2Fpromo-reward-type-dynamic.png?alt=media" alt="Reward type set to Dynamic" width="681"><figcaption></figcaption></figure>

3. Set the discount you want to offer in **Discount Rules**. This can either be a percentage or a fixed amount in your store currency
4. Set the expiration period in **Discount Expiration** if you want these discounts to expire after a set period of time
5. Optionally click **More Discount Code Options** to choose what the code **Applies To**, what it **Combines With**, the **Purchase Type**, and a **Minimum Purchase**
6. Press **Update Question** to save your changes

<figure><img src="https://1643988190-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZpanNFqg3aCUZgXh3X%2Fuploads%2Fgit-blob-0f57c011ab0a7edc10176217f41d7cf67c57865b%2Fupdate-question-button.png?alt=media" alt="The Update Question button" width="620"><figcaption></figcaption></figure>

#### Next steps

* **Show the reward up front.** Enter text in the Promo Code question's **Reward Banner** to show a banner above every question.
* **Email the code.** Turn on **Email Code** on the Promo Code question and use `{{ discount_code }}` in the template.
* **Something not working?** See [Discount Codes and Reward Automation](/faq/discount-codes-and-reward-automation.md) for codes that keep loading, combining with other discounts, reporting, and cleaning up codes after a survey ends.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.zigpoll.com/tutorials/adding-discount-codes-to-your-survey.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
