How to collect SMS and/or WhatsApp consent at checkout on WooCommerce
You will learn
Learn how to start collecting SMS and/or WhatsApp consent at checkout with your WooCommerce store.
Why collect SMS and/or WhatsApp consent at checkout?
Collecting consent at checkout lets customers opt in while placing an order. Klaviyo’s integration with WooCommerce sends their checkout opt-in to Klaviyo when they enter their phone number, accept SMS and/or WhatsApp marketing, and place an order.
Before you begin
Note that you must:
- Have integrated your WooCommerce store with Klaviyo and use Klaviyo’s WooCommerce plugin version 2.4.0 or higher to collect SMS consent at checkout, or version 3.8.0 or higher to collect WhatsApp consent at checkout.
- Have Klaviyo SMS and/or Klaviyo WhatsApp enabled.
- Create mobile terms of service.
- Update your privacy policy.
You can only collect SMS consent where Klaviyo SMS is available. See this article for information on where you can use Klaviyo SMS.
Please note that SMS consent will not sync from WooCommerce to Klaviyo if your company is age-gated.
Turn on SMS and/or WhatsApp consent at checkout for WooCommerce
Configure checkout consent in Klaviyo after completing the prerequisites above.
- In Klaviyo, select Integrations.
- Select WooCommerce.
- On the integration settings page, find the Marketing consent section, then scroll to Mobile. Under Select channels, select Text message to collect SMS consent and/or WhatsApp to collect WhatsApp consent. You can select 1 or both channels depending on the type of consent you want to collect at checkout. Changing the selected channels replaces the consent checkbox label and disclosure text with suggested wording for those channels, so review both fields before saving.
- Select a list from the Add subscribers to this list dropdown. This list is used for both channels if you select both. Consent is sent to Klaviyo after the customer submits their order and the order is created in WooCommerce. New subscribers join the list after completing the opt-in process for their channel, as explained in the Outcome section below.
- Under Consent checkbox label, include the text you wish to appear next to the checkbox on your checkout page.
- Under Consent disclosure text, review the suggested language or add your own. Replace placeholder company information and policy links with your own. Disclosure text is required for TCPA compliance when you collect SMS consent, including when you select both channels. If you collect only WhatsApp consent, disclosure text is recommended.
- When you are done, click Save settings in the lower right corner.
If you want to stop collecting consent at checkout, navigate to Integrations > WooCommerce and, under Mobile, deselect the channels you want to stop collecting consent for (Text message and/or WhatsApp). Then click Save settings.
Outcome
Once you complete the steps above, your checkout page will look similar to the one below:

Klaviyo receives the checkout opt-in after someone:
- Inputs their phone number.
- Selects the checkbox to accept SMS and/or WhatsApp marketing.
- Finishes placing their order (consent will not be synced until the order is placed).
Joining your selected list depends on the opt-in settings for each channel:
- SMS: If your list uses double opt-in and your sending number supports replies, customers must confirm their subscription before they become SMS subscribers and join the list. For branded sender IDs, Klaviyo skips the confirmation text because customers cannot reply. Learn more about double opt-in.
- WhatsApp: If WhatsApp double opt-in is enabled for your account and your list uses double opt-in, customers must confirm their subscription before they become WhatsApp subscribers and join the list. WhatsApp double opt-in requires a paid Mobile Messaging plan. Learn more about WhatsApp double opt-in.
Additional resources
- How to use Klaviyo email and SMS together
Learn the pros and cons of SMS and email, strategies for using both channels in a flow or campaign, and tips for how to implement these strategies.
- How to collect SMS consent with a tap-to-text form
Learn how to set up a tap-to-text sign-up form to collect phone numbers from new prospects. With tap-to-text, site visitors can click a button in your sign-up form to automatically open their text messaging app where Klaviyo has added a message. They only need to send the message to subscribe.
- write impactful SMS copy