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 beginBefore you begin
Before you start, make sure you’ve:
Send an email to request SMS consentSend an email to request SMS consent
To collect SMS consent from your existing subscribers, we recommend taking three steps:
- Create an embedded SMS sign-up form.
- Embed your sign-up form in a landing page on your website.
- Send a campaign encouraging email subscribers to sign up for SMS.
Create an embedded sign-up form
Start by creating a sign-up form and designing it to match your brand.
- In Klaviyo, navigate to Content > Signup Forms > Create Sign-up Form > Build From Scratch.
- Choose a descriptive form name, like SMS Sign-ups from Email.
- From the Choose a list… dropdown, select your SMS list (e.g., “SMS Subscribers” or “SMS List”).
- From the Choose a form type menu, select Embed.
- Click Save and Continue to Design.
- Delete the Email block in the default form.
- Click Add Blocks from the menu on the left.
- Drag a Phone Number block into your form.
- If needed, edit the highlighted portions of the SMS marketing disclaimer.
- Click Done.
- Click Targeting & Behaviors in the menu on the left.
- Set the form to show to all visitors on both desktop and mobile devices.
- Copy the code in the Embed Code section, which you’ll need for the landing page you create in the next step.
- Once you’ve designed and customized the form, click Publish.
Embed your signup form on a landing page
- Open your website’s admin and create a new landing page, custom page, or blog post.
- Paste the code snippet from the prior section into your new page’s code (often indicated by a
</>
or Source button). - Save your new page and copy its URL, which you’ll need in the following section.
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. Once you've designed your template:
- Drag a Button block into the template.
- In the Button Text field, add descriptive button text like Sign up for SMS.
- In the Link URL field, add the URL for the landing page you created in the last section.
Create a segment of potential SMS subscribers
When your email is ready to send:
- Navigate to Lists & Segments > Create List / Segment > Segment.
- Name your segment something descriptive, like Subscribed to email but not SMS.
- 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 > cannot receive > SMS marketing > because person never subscribed.
- Click Create Segment to save the segment.
Send your campaign
- Navigate to Campaigns > Create Campaign.
- Select Email > Create Campaign.
- Choose the segment you created above (e.g., the Subscribed to email but not SMS list) as your Send to list.
- Click Continue to Content.
- Add a subject line, then click Drag and Drop.
- Click My Templates.
- Select the template you created previously.
- Proceed through the steps to review and send your campaign.
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 as an Additional Filter to the message: If someone is or is not consented to receive SMS > is not.
Alternative method: add a click-to-text banner to a campaign
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 in an email generates a text message with an opt-in keyword when a recipient clicks it. To use this functionality, you’ll create 2 versions of your call-to-action: one for desktop users and another for mobile users.
- Add a Text block to your email template.
- Add the following text to your text block:
- Text subscribe_keyword to sending_number.
- Replace subscribe_keyword with a subscribe keyword from your account (e.g., JOIN).
- Replace sending_number with your sending number.
- Within Display Options > Visibility, click Desktop to set the block to only show on desktop.
- Click Save to save the block.
- Use the clone icon to clone the block.
- Within Display Options > Visibility, click Mobile to set the new block to show only on mobile devices.
- In the mobile-only block, click the source code button to access the block’s HTML.
- Replace all the existing code 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>
- Replace both instances of sending_number (in bold) above with your SMS sending number.
- The first instance of your sending number should include the country code (e.g., 1 for the US) followed by the 10 digits of your SMS sending number, with no dashes, spaces, or parentheses: 16171110000
- The second instance of your sending number may include formatting characters: (617) 111-0000
- Click Save to save the block.
- Add disclosure language to the banner or within the email.
- 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 > cannot receive > SMS marketing > because person never subscribed
Send your email to your email-only subscribers using a campaign, or add the message to your email welcome flow.
Review your resultsReview 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.
Additional resources