> 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/layered-post-purchase-surveys.md).

# Layered Post Purchase Surveys

Deliver different surveys on the same page based on customer context

Zigpoll allows you to configure multiple surveys for the same page and deliver different ones depending on the customer context, such as:

* Whether it's a new or existing customer
* The order total
* How many orders the customer has made
* What country or language the customer uses
* Whether specific tags are applied to the customer

#### Setting Up Layered Surveys

**Step #1: Create Your First Survey**

1. Go to **Surveys** and click **New Survey**.
2. Enter a title and select **Thank You & Order Status** for the delivery method.
3. Use a template or build your questions from scratch.

**Step #2: Configure Targeting**

1. Open the survey, go to **Settings → Targeting**, and scroll down to **Shopify Targeting Rules**.
2. Pick a **Basic Options** preset (such as **New Customers**), or click **Advanced Rules** for more control over the configuration.
3. Set the rules for which customers should see this survey, then click **Save Changes**.

**Step #3: Create Additional Surveys**

Repeat Steps 1-2 for each customer segment you want to target. For example:

* Survey A → First-time customers
* Survey B → Returning customers
* Survey C → High-value customers

**Step #4: Order Your Surveys**

Make sure your surveys are in the correct order. Drag them in your **Surveys** list, where surveys at the top take priority over the ones below. Zigpoll checks them **top-down** and serves the **first survey whose rules match**. Surveys further down are never checked for that customer.

Put your most specific surveys first and a catch-all last. For example:

1. Survey C → High-value customers (**Customer Total Spent** above a threshold)
2. Survey B → Returning customers
3. Survey A → All customers (no rules), the catch-all

If the **All customers** survey sat at the top, it would match everyone and Surveys B and C would never show.

{% hint style="info" %}
Layered surveys let you run a comprehensive post purchase feedback campaign that dynamically adapts to different customer segments. You can leave it running continuously to constantly improve your business.
{% endhint %}


---

# 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/layered-post-purchase-surveys.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.
