> 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%2FWvtWQegDRFMauuEPtQjN%2Fimage.png?alt=media&amp;token=00cbaa37-8462-49a4-b127-8ba7042f6e5b" alt=""><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%2FXG9cibwkaab7iDAbVGJf%2Fimage.png?alt=media&amp;token=3f2730d9-bee3-44ff-8364-ab04f6d24bce" alt=""><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%2F9ux2HnxUCNK7glenBoj0%2Fimage.png?alt=media&amp;token=f1831111-ab15-401a-a94b-c7131c8ec866" alt=""><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%2Fh0jlLUBACU1WzUu3rX86%2Fimage.png?alt=media&amp;token=e5920efc-88bc-4cad-b847-4516e3384c2a" alt=""><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%2FWvtWQegDRFMauuEPtQjN%2Fimage.png?alt=media&amp;token=00cbaa37-8462-49a4-b127-8ba7042f6e5b" alt=""><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%2FUgJYsy83gi4Xu7SNAmjW%2Fimage.png?alt=media&amp;token=0154d84c-a480-4fff-96a9-a9b0e21ee112" alt=""><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%2Fh0jlLUBACU1WzUu3rX86%2Fimage.png?alt=media&amp;token=e5920efc-88bc-4cad-b847-4516e3384c2a" alt=""><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 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://docs.zigpoll.com/tutorials/adding-discount-codes-to-your-survey.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.
