> For the complete documentation index, see [llms.txt](https://docs.quickreply.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.quickreply.ai/help-and-referrence/faqs/opt-ins/how-to-collect-whatsapp-business-opt-ins-for-your-shopify-store.md).

# How to collect WhatsApp Business opt-ins for your Shopify store?

## What is an opt-in? <a href="#what_is_an_opt-in" id="what_is_an_opt-in"></a>

An opt-in is when your consumers provide you with their phone number and they agree to receive messages from your business via WhatsApp. Before you send a consumer an outbound WhatsApp message, you must first collect opt-ins.\
\
**Things to remember when collecting opt-ins**

* Make it clear to the users that they are agreeing to receive messages from your company via WhatsApp.
* Mention the business name that the user is opting in to receive messages via WhatsApp.
* Comply with applicable privacy laws

A customer can contact your support team directly through a WhatsApp message thread to ask to receive notifications or they can provide you the consent via third-party channels.\
\
It's crucial to remember that you're responsible for storing opt-ins and ensuring that each consumer you contact via WhatsApp has accepted to receive communications from your business via WhatsApp.

## How to collect WhatsApp opt-ins on your Shopify Store? <a href="#how_to_collect_whatapp_opt-ins_on_your_shopify_store" id="how_to_collect_whatapp_opt-ins_on_your_shopify_store"></a>

The easiest and most seamless way to collect WhatsApp Opt-in is when your user is doing the checkout. Shopify already has a mechanism to collect email marketing consent from your users. You can just use the same functionality and extend it to take consent for WhatsApp Opt-in.

Since for WhatsApp campaigns, you would require a mobile number. So, you will have to change your checkout pages to ensure that you are capturing mobile numbers during checkouts.

### **A step-by-step guide to capturing WhatsApp Opt-in for Shopify Store** <a href="#a_step-by-step_guide_to_capturing_whatsapp_opt-in_for_shopify_store" id="a_step-by-step_guide_to_capturing_whatsapp_opt-in_for_shopify_store"></a>

* Go to your store's **Shopify admin** and navigate to **Settings** from the bottom of the left panel

<div align="left"><figure><img src="/files/dGGBvDQNrYeUumPnRtvA" alt=""><figcaption></figcaption></figure></div>

* Go to the **Checkout** page.

<div align="left"><figure><img src="/files/0m90ni8MLs6KM2a04ajU" alt=""><figcaption></figcaption></figure></div>

* In the **Customer contact** section, select the option that allows customers to **checkout using "phone number or email"**:

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

* On the same page, go to the **Form options** section. Set the **Shipping address phone number** as Required.

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

* The move on to **Email Marketing** and select both checkboxes.

<figure><img src="/files/5mEs3bzavaW4xdJJP9hr" alt=""><figcaption></figcaption></figure>

* Go to the **Checkout Language** and click on Manage checkout language.

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

* In the **Manage checkout language** page, go to **Checkout marketing** and update the text of the **Accept marketing checkbox** **label** as shown below

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

* You can customize the texts to include all your channels and the kind of messages you wish to send. Some samples are:
  * Send me order updates on WhatsApp
  * Send me order information, promotional offers, and deals via Email, SMS, and WhatsApp
  * Send me updates on WhatsApp and SMS.
* On the same page, update these fields too
  * **Phone label** - *Phone Number for Order Updates (preferably WhatsApp number)*
  * **Optional Phone label** - *Phone Number for Order Updates (preferably WhatsApp number)*
  * **Phone Placeholder** - *Phone*
  * **Phone tooltip** - *We will send you order updates and exclusive deals on your number via WhatsApp and/or SMS.*

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

* Scroll to the top and click **SAVE**

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

* Once you have done all the steps, your checkout page will look like this

<figure><img src="/files/49J4mX7jOyyauobhybRG" alt=""><figcaption></figcaption></figure>

If you face any issues with us, do reach out to us on our email - <help@quickreply.ai>


---

# 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:

```
GET https://docs.quickreply.ai/help-and-referrence/faqs/opt-ins/how-to-collect-whatsapp-business-opt-ins-for-your-shopify-store.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.
