# Shopify Marketing Consent

Please make sure the form is connected to Shopify customer data first. [Learn more](/~/revisions/KRfi0fHdeAFeAhiPrH7G/customer-fields/shopify-customers-integration.md)

You can let customers choose whether to subscribe to marketing emails by adding an **“Accept Marketing” checkbox** in your form. When they submit, the app updates the **Shopify customer’s `accepts_marketing` status** accordingly.

### ✅ How It Works <a href="#how-it-works" id="how-it-works"></a>

Once a customer submits the form:

* If they check **Email Marketing**, their Shopify customer profile will show:\
  **Email marketing: Subscribed**
* If the customer leaves the box unchecked, Shopify will store them as **Not subscribed**.

This data appears under the customer’s profile in Shopify → **Customers → Marketing**.

<figure><img src="/files/p9UL2aOKEFObA09Pywe6" alt=""><figcaption></figcaption></figure>

***

### 🛠️ How to Add Marketing Consent Fields to Your Form

1\. Open the app > click **Forms** > open the form you want to edit

2\. Click **Element** icon > click **Add element** > select **Accept term**&#x20;

<figure><img src="/files/77j2cqWG7kB0miW0Dw7I" alt=""><figcaption></figcaption></figure>

3\. Edit the field to label of the field as you want&#x20;

<figure><img src="/files/YiTkuoA1gvHbYpONLs9l" alt=""><figcaption></figcaption></figure>

4\. Click the **Integration** icon on the left side > enable **Shopify** > click on **Shopify** option

<figure><img src="/files/9NTLfthRw8aRun6ezr0e" alt=""><figcaption></figcaption></figure>

5. Scroll down to **Marketing (optional)** section, select **Record email marketing consent via form field**  >   select the checkbox field you have just create&#x20;

<figure><img src="/files/qU41H6WJwpmHGegVtwgZ" alt=""><figcaption></figcaption></figure>

6. Save the form.

***

#### 📌 Example

Suppose you label the checkbox **“Subscribe to newsletter”**:

* Jane fills out the form and checks **Subscribe to newsletter** → Shopify puts her under subscribed marketing status.
* Bob fills out the form and leaves it unchecked → Shopify sets him as unsubscribed.


---

# 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.powerfulform.com/~/revisions/KRfi0fHdeAFeAhiPrH7G/app-integration/shopify-marketing-consent.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.
