Gathering consent for SMS marketing on your checkout page is the simplest way to grow your list. BigCommerce stores can take advantage of this with Klaviyo, allowing you to extend your reach with text message marketing. Consent will be synced to Klaviyo when someone inputs their phone number, opts into SMS marketing, and clicks Continue in the Shipping step on the checkout page.
This guide explains how to start collecting SMS consent at checkout for BigCommerce. This should take about 5–10 minutes total. To make it easier, we recommend logging into your BigCommerce and Klaviyo accounts and keeping both open.
Before You Get Started
You must enable SMS in Klaviyo before you can start collecting consent at checkout. If you haven’t, read this guide on how to set up SMS. Note that you can also only collect SMS consent from U.S. phone numbers.
In Klaviyo: Update Your Integration Settings
First, navigate to your integration settings for BigCommerce. To do so, click Integrations > BigCommerce.
Select the list you want SMS subscribers to sync to. Note that you should use a different list for SMS than email if you are also collecting email subscribers. Assigning a separate list for each channel ensures that consent is properly applied to the correct channel.
Copy the code snippet and keep it on hand. Then, click Update BigCommerce Settings to save these changes and go to your BigCommerce store.
In BigCommerce: Add the Script via Script Manager
In your BigCommerce store, navigate to Storefront > Script Manager. Choose Footer for the script's location on page, then select Checkout where the script will be added.
Next, select the most applicable script category. For SMS consent at checkout, we recommend that you pick Targeting; Advertising.
Choose Script as the script type, then paste the snippet of code in the Script Contents box below.
When you have finished making your selections and have pasted the script, click Save.
Next, you'll likely need to adjust the placement of the field on your checkout page so that the SMS opt-in checkbox is placed below the phone number field. To do so, head to Advanced Settings > Account Sign Up Form.
Click into the Address Fields tab. There, move the phone number field to the bottom of the list.
Your checkout page will now look similar to the one shown below.
Now, when someone enters their phone number, selects the checkbox to accept SMS marketing, and clicks Continue in the Shipping section, they will automatically sync to your designated Klaviyo list, making it easier and faster to grow your SMS list.
Learn the basics of using SMS and email together.
Find out how to add an embedded form to your site.
Want to stop collecting SMS subscribers? Read this article on disabling SMS consent at checkout.