> 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/integrations/shopify-email.md).

# Shopify Email

Include Zigpoll survey links in your Shopify Email templates

Include a link to your Zigpoll survey within a Shopify Email template to collect feedback from your customers directly through Shopify's built-in email marketing tool.

#### Step #1: Copy Your Zigpoll Public Link

1. Go to **Apps → Zigpoll → Surveys → Select your survey**.
2. Click the link icon at the top right of the page.
3. Copy the link in the URL bar. It will look something like this:

```
https://survey.zigpoll.com/2vLaXDvDpaVJjmngT
```

Accounts with a [custom survey domain](/custom-survey-domains.md) see their own domain instead of `survey.zigpoll.com`.

#### Step #2: Add a Liquid Code Block in Shopify Email

1. Open the Shopify Email app and edit your email template.
2. Click the plus icon on your email template and select **Liquid Code Block**.

#### Step #3: Add the Customer Email to the URL

In your liquid code block, enter a URL that includes the customer's email as a query parameter:

```
https://survey.zigpoll.com/2vLaXDvDpaVJjmngT?email={{ customer.data.email }}
```

{% hint style="info" %}
The `email` parameter ties each response to the customer's email address, so you know who answered. Zigpoll uses that email to pull the customer's Shopify information automatically, giving you a full profile of the respondent. You can also send their survey responses back to Shopify and build custom segments from their answers.
{% 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 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/integrations/shopify-email.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.
