Collecting SMS Consent on WooCommerce

Last updated at:


In order to send SMS messages to your subscribers, the first thing you’ll have to do is collect phone numbers. It’s important to include clear language that explicitly states that by inputting their number, the customer is opting into SMS. Additionally, you’ll need their consent to sync from your WooCommerce store to your Klaviyo account in order to contact your customers via text messaging.

In this article, we will run through collecting SMS consent from your WooCommerce store so you can send SMS messages in Klaviyo.

Language for SMS Consent

When gathering phone numbers for SMS marketing, you must include language that explicitly informs people they are consenting to receive text messages from your business, according to TCPA guidelines. Messaging that only says that they are opting in for general marking, and does not mention SMS specifically, is generally not seen as sufficient. While Klaviyo cannot provide legal advice about compliance and you should always check with legal counsel, the following is an example of language that clearly indicates the person will be consenting to SMS marketing.

By signing up via text, you agree to receive marketing messages at the number provided. Consent is not a condition of purchase. Message and data rates may apply. Message frequency varies. View our Privacy Policy and Terms of Service.

You'll need to update your Privacy Policy to reflect specific SMS information as well as linking to your Privacy Policy and Terms of Service. 

Methods for Gathering SMS Consent in WooCommerce

If you haven’t already, make sure that your Klaviyo plug-in in WooCommerce is running. If you’re unsure if you’re able, head to our article on Integrating with WooCommerce.

Additionally, you should have the option to publish Klaviyo signup forms on your site through your integration. If you are not currently using Klaviyo signup forms or are unsure if you can, head to our article on installing Klaviyo signup forms.

Below, we discuss how to gather SMS consent via: 

Collecting Consent Using a Popout or Flyout

A simple way to gather SMS Consent is through a Klaviyo popup or flyout form for your WooCommerce store. These forms can include a phone number field as well as the necessary messaging. In Klaviyo, you can either create them from scratch, use a pre-built template from the Form Library, or add the phone number field to one of your existing forms. Once you select your form, add a phone number block into the form and click the Update SMS consent checkbox.


You can change aspects of this box like the label, placeholder text, and whether or not the phone number is required. In addition, you are able to alter the profile property, but this is not recommended if you want to use this property as a phone number in your SMS messages. Further, there’s an option to change the default country, but note that SMS messaging using Klaviyo is currently only available in the US.

When you click Publish for a form with the Update SMS consent checkbox enabled, a popup box will appear to confirm your form meets TCPA guidelines. By clicking Consent Disclosure, you will find a blurb with legal language that you can copy and paste into a text block on your form. The text will help ensure that your form complies with TCPA rules around SMS marketing consent. You will also need to replace the Privacy Policy and Terms of Service links with those for your brand and include a note that explicitly mentions SMS marketing. If you have questions regarding SMS consent, we recommend contacting your legal counsel.


Like with any popup or flyout form, you can change the timing and frequency for when the form should display as well as in which URLs it should appear in the Behaviors tab. Through this approach, you can have it appear on, for example, your cart or checkout page.


Collecting Consent Using Embedded Forms

With an embedded form, you can insert a phone number input field directly onto your site. For instance, let’s look at how to include an embedded form in a footer or on your order confirmation page. As with a popup or flyout form, add a phone number input field, check the Update SMS consent checkbox, and include language that clearly states the person is opting into receiving text messages from your business.

When you publish a Klaviyo signup form, a popup box will appear with the form’s embed code. You can also get this code from the Behaviors tab on the left-hand side of the page. Copy this code so that you are ready to paste it into your WooCommerce store.

To add your form's embed code we're going to follow a three-step process:

  1. Locate where on your site you want to add your form.
  2. Get to where you can edit the HTML of your site.
  3. Paste in your embed code, and adjust your form's styles as needed.

This general approach works for adding a Klaviyo form to any site. Keep in mind that your theme may differ, along with some of the names of files or the locations of code snippets.

The first step is to decide and locate where you want to add your embed code. In this example, we'll cover adding a Klaviyo embedded form to a footer. From the dashboard, head to Customize Your Site > Widgets > Footer 1 (or wherever you would like to add your form) > Custom HTML. From there, paste the code taken from the form builder in Klaviyo. Select Done > Publish for the form to display on your site.


You should then see the embed in the footer of your site. If you're still struggling, feel free to reach out to support.

If you’re adding the embed to your order confirmation page, follow the instructions on Embed a Form on Your Order Confirmation Page.

Additional Resources


Was this article helpful?
0 out of 0 found this helpful