How to collect SMS consent at checkout on Shopify

Last updated at:

You will learn

Learn how to collect SMS consent at checkout on Shopify by updating your Shopify integration settings and then adding a consent checkbox in Shopify. One of the quickest and easiest ways to grow your SMS list is by collecting consent at checkout. With Klaviyo’s integration with Shopify, you can leverage this approach and reach a wider audience with your SMS marketing. 

Before you begin

You can only collect SMS consent in locations where Klaviyo SMS is available. You also must have a sending number for the location where you're collecting consent. 

Before you begin gathering SMS consent at checkout, you need to:

In Klaviyo: update Your Shopify integration settings

The first step to collecting SMS consent at checkout with Shopify is changing your integration settings.

  1. Click your organization name in the bottom left.
  2. Open Integrations.
  3. Select Shopify from the list of enabled integrations.
  4. Under Collect Subscribers > Channels, select Collect SMS Subscribers.
    Subscriptions section of the Shopify integration settings page in Klaviyo, showing Collect SMS subscribers setting checked
  5. If you are also collecting email subscribers, assign a separate list to each channel, so that consent will get applied properly when subscribers sync into Klaviyo.
  6. Recommended: check the box labeled Sync customer SMS subscription status to Shopify to:
    • Automatically backfill your SMS subscription data to Shopify.
    • In the future, sync this data from Klaviyo to Shopify whenever a Shopify customer subscribes or unsubscribes from SMS.
  7. Click Update Settings, which will bring you to your Shopify store.
  8. Review the changes and click Update App.
    Page in Shopify showing permissions for Klaviyo with update app with green background at the bottom

In Shopify: Add SMS consent collection to checkout 

The next step is adding SMS consent collection at checkout in Shopify. 

  1. In your Shopify admin, click Settings at the bottom of the left sidebar.
  2. On the Settings page, click Checkout.
    Settings page in Shopify admin with all cards grayed out exception for the Checkout card, which has a white background
  3. In the Marketing Consent Show an option to subscribe at checkout for SMS marketing.
    Marketing consent setting in Shopify with show an option to subscribe at checkout under SMS marketing checked off
  4. Scroll down to the bottom of the page and click Save.


Your checkout page will now have a section similar to the one shown below. 

Shopify checkout page showing checked box reading text me with news an offers, with a text box to enter phone number

Now, consent will now start syncing to Klaviyo when someone does all of the following steps:

  1. Enters their phone number.
  2. Selects the checkbox to accept SMS marketing.
  3. Clicks Continue to shipping.

If the list is set to double opt-in, which is strongly recommended, customers will have to confirm their subscription before SMS consent is added in Klaviyo. The only exception is when you're using a branded sender ID, which always uses a single opt-in approach since it can't receive messages. 

The customer do not need to complete their order to have their consent synced to Klaviyo. Thus, you can more easily and quickly grow your SMS list.

Consent will only sync to Klaviyo if the person is subscribing to SMS in Shopify for the first time.

If you already have SMS subscribers in Shopify, you can export them into a CSV file and then import them into Klaviyo

Additional resources

Was this article helpful?
132 out of 192 found this helpful