---
title: "How to ask for SMS consent within an email"
description: "Learn how to send a message to your existing email subscribers encouraging them to opt in to SMS marketing. By following this process, your email subscribers will be able to sign up for SMS marketing with just a few clicks."
canonical_url: "https://help.klaviyo.com/hc/en-us/articles/8185730542235"
markdown_url: "https://help.klaviyo.com/hc/en-us/articles/8185730542235.md"
locale: "en-us"
category: "SMS"
section: "Use email and social media to collect SMS consent"
updated: "2026-10-30"
---

# How to ask for SMS consent within an email

## You will learn

Learn how to send a message to your existing email subscribers encouraging them to opt in to SMS marketing. By following this process, your email subscribers will be able to sign up for SMS marketing with just a few clicks. 

You can collect SMS consent via email in targeted campaigns or within flows. For instance, post-purchase flows are an effective place to advertise your SMS program and gather sign-ups.  

## Before you begin 

Before you start, make sure you’ve:

- [Configured SMS in your Klaviyo account](https://help.klaviyo.com/hc/en-us/articles/4404274419355.md)

- Set up your [mobile terms of service](https://help.klaviyo.com/hc/en-us/articles/360049177511.md) and [privacy policy](https://help.klaviyo.com/hc/en-us/articles/4404199571867.md)

- Installed Klaviyo onsite tracking on the website where you’ll embed your form. See [how to add an embedded sign-up form to your website](https://help.klaviyo.com/hc/en-us/articles/360006897412.md).



## Send an email to request SMS consent

To collect SMS consent from your existing subscribers, we recommend taking 3 steps: 

1. [Create an embedded SMS sign-up form. ](#h_01GARPD00Q4T6YX1BNTSNCDMMZ)

2. [Embed your sign-up form in a landing page on your website. ](#h_01GARPDFDAZSQ73SZG7QW4TM1W)

3. [Send a campaign encouraging email subscribers to sign up for SMS.](#h_01GARPDTY04QFPZ64DB8W70BDF)



### Create an embedded sign-up form

Start by creating a sign-up form and designing it to match your brand. 

1. Navigate to **Website > Sign-up forms**, click **Create form**, then select **Create blank form**.

2. Choose a descriptive form name, like *SMS Sign-ups from Email*.

3. From the **Choose a list** dropdown, select your SMS list (e.g., “SMS Subscribers” or “SMS List”). 

4. From the **Choose a form type** menu, select **Embed**.




![The modal to create a new signup form](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/7930e2ae603687ccd82c769ca1468afe17e95cec-800x880.jpg?auto=format)

5. Click **Save and design**.

6. Delete the **Email** block in the default form.

7. Click **Add content** in the sidebar to open **Add blocks**.

8. Drag a **Phone number** block into your form. Select the block, choose **Text message** as the channel, and select **Single step - Promotional only** as the consent type.

9. Review the disclosure language and check that it includes your business details and links to your mobile terms of service and privacy policy.

10. Click **Targeting & behavior** in the menu on the left. 

11. Under **Targeting**, select **Show to all audience members**. Under **Display**, set **Devices** to **All devices**.

12. In **Display**, copy the code from **Embed code**. You’ll need it for the landing page in the next section.



![An embedded form's embed code](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/1c084fec1b6695bd0807e2330492e9050a97f33d-858x448.jpg?auto=format)

13. Once you’ve designed and customized the form, click **Publish or schedule**, then **Publish now**.



![A user click's Publish on a signup form](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/35d14c10406f6d928c342930c159d7376d93a5f9-1436x744.gif?auto=format)

### Embed your sign-up form on a landing page

1. Open your website’s admin and create a new landing page, custom page, or blog post. 

2. Paste the code snippet from the prior section into your new page’s code (often indicated by a `</>` or *Source* button).

3. Save and publish your new page, then open its public URL to check that the form appears and accepts sign-ups on desktop and mobile. Copy the URL for the following section.



If Klaviyo sends a confirmation text after someone submits the form, they must follow its instructions to complete their SMS subscription.

### Send a campaign encouraging email subscribers to sign up for SMS

#### Create an SMS sign-up button in your email

First, [create an email template](https://help.klaviyo.com/hc/en-us/articles/115000102752.md). Once you've designed your template: 

1. Drag a **Button** block into the template. 

2. Under **Button text**, enter descriptive text like Sign up for SMS.

3. In the **Link address** field, add the URL for the landing page you created in the last section.




![The button settings for a button block in an email](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/d5f1ddd76e9de6f784b01ee5697a55907916cf9d-792x532.jpg?auto=format)

4. Click **Exit** to save your changes and leave the template editor.



#### Create a segment of potential SMS subscribers

When your email is ready to send:

1. Navigate to **Audience > Lists & segments > Create > Segment**.

2. Name your segment something descriptive, like Subscribed to email but not SMS. If a naming panel appears, click **Create segment** to continue to the segment builder.

3. Create a segment with the definition **If someone can or cannot receive marketing > can receive > email marketing > Because person > subscribed AND If someone can or cannot receive marketing > cannot receive > text message marketing > Because person > never subscribed**.

4. Click **Create segment** to save the segment.



#### Send your campaign

1. Navigate to **Campaigns > Create campaign**.

2. Name your campaign, select **Single channel** if prompted, choose **Email**, and click **Continue**.

3. Choose the segment you created above (e.g., Subscribed to email but not SMS) under **Send to**.

4. Click **Next**.

5. Add a subject line and review the sender name and email address.

6. Click **Email: saved**.

7. Select the template you created previously and click **Use template**.

8. Click **Next**, then [review and send your campaign](https://help.klaviyo.com/hc/en-us/articles/115005054847.md). 



**📝 Note:** In addition to sending this message to your existing email subscribers, consider adding it to your email welcome series as well. Just make sure to add the following under **Additional filters** for the message: **If someone is or is not consented to receive text messages > is not**.

## Alternative method: add a click-to-text banner to a campaign

**📝 Note:** Note that this approach is designed to automatically open a text message, but it will not work with Gmail or in Microsoft Outlook; however, everyone can see the banner and manually text your number to subscribe, regardless of their inbox provider.

A click-to-text banner opens a text message with an opt-in keyword when a recipient clicks it on a supported mobile device. The recipient must send the message and complete any confirmation requested to subscribe. To use this functionality, you’ll create 2 versions of your call-to-action: one for desktop users and another for mobile users.

Use a sending number that can receive text messages. Branded sender IDs cannot receive replies, so use the embedded-form method above if you send with a branded sender ID.

1. Add a **Text** block to your email template. 

2. Add the following text to your text block: 

   - Text subscribe_keyword to sending_number.

3. Replace *subscribe_keyword* with a subscribe keyword from your account (e.g., JOIN).

4. Replace *sending_number* with your sending number.




![A click-to-text banner followed by disclosure language](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/365ba82befcc419bf2f2d064cdfd9ec74f21ba1c-700x550.jpg?auto=format)

5. Within **Display > Visibility**, click **Desktop** to set the block to only show on desktop.




![A block set to mobile only in Klaviyo's template editor](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/4fa28fdda25923e6420fc7267861b68d36f8c058-700x612.jpg?auto=format)

6. Click **Add content**, then drag an **HTML** block into the email for the mobile version of the banner.

7. In the HTML block’s **Display > Visibility** settings, select **Mobile**.

8. Open the HTML block’s **Content** tab to edit its code.



![The source code button in Klaviyo's email template editor](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/c05149c517035d7003854f727cf85c3db7c48e42-800x480.jpg?auto=format)

9. Replace the HTML block’s content with the code below:

   - `        <a href="sms:+sending_number?&body=Send%20this%20text%20to%20subscribe%20to%20SMS%20Updates!%20%28ref:JOIN%29">
        Text JOIN to sending_number
        </a>`

10. Replace both instances of `sending_number` with your SMS sending number. If you use a subscribe keyword other than JOIN, replace both instances of JOIN with that keyword, including the one in `ref:JOIN`.

    - For a toll-free number or long code, the first instance should include the country code followed by the full number, with no dashes, spaces, or parentheses. For example, a US number uses 1 followed by 10 digits: 16171110000. For a short code, remove the + from the link and use the short code without a country code.

    - The second instance of your sending number may include formatting characters: *(617) 111-0000*




![The code for a click to text banner in an email](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/1b7c97aa041ba7f24b1820477b13d49a701578b8-796x494.jpg?auto=format)

11. Click outside the HTML block to finish editing it.

12. Add disclosure language to the banner or within the email.




![A click-to-text banner followed by disclosure language](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/b19dd00af90cafad02d199c9a20faef1f11a3517-792x778.jpg?auto=format)

13. Create a segment of your email-only subscribers with the following condition: **If someone can or cannot receive marketing > can receive > email marketing > Because person > subscribed AND If someone can or cannot receive marketing > cannot receive > text message marketing > Because person > never subscribed**



Click **Exit** to save your template. Then [send your email](https://help.klaviyo.com/hc/en-us/articles/115005054847.md) to your email-only subscribers using a campaign, or add the message to your email welcome flow.

## Review your results 

To keep track of your new SMS subscribers, navigate to **Analytics > Metrics > Consented to Receive SMS**. Here, you can review your subscriber trends and understand who is opting in to SMS. Learn more about [understanding your subscribers in Klaviyo](https://help.klaviyo.com/hc/en-us/articles/360047399472.md).

## Additional resources

- [How to create and send an SMS campaign](https://help.klaviyo.com/hc/en-us/articles/360040039971.md)
  Learn how to create and send an SMS campaign in Klaviyo. Note that the process is almost exactly the same for MMS campaigns. The only difference is that you add an image or GIF during the content creation stage.  
- [Migrating from another SMS provider to Klaviyo](https://help.klaviyo.com/hc/en-us/articles/360035511812.md)
  Learn the steps for migrating from another SMS provider to Klaviyo.  
- [How to upload a list of SMS contacts](https://help.klaviyo.com/hc/en-us/articles/360035428731.md)
  Find out how to add and remove SMS transactional or marketing consent in Klaviyo. Importing your SMS subscribers is an essential part of migrating providers or simply consolidating your data. 
- [The benefits of SMS](https://www.klaviyo.com/blog/why-sms-marketing)
