With most eCommerce platforms we can give your customers the opportunity to opt-in to SMS messages at checkout. Below are step-by-step instruction for Shopify; however, these steps can be abstracted for other platforms. With this method, double opt-in flow is required for compliance purposes (see <link> for details).

Please contact your Voyage account manager or [email protected] if you would like to setup opt-in at checkout.

For Shopify

Note: The below code snippet includes modal display and purchase tracking.

From your Shopify Admin go to Settings > Checkout > Customer Contact

  1. Under “To check out” select “Customers can check out using either their phone number or email" Note: By selecting this, if the consumer enters phone number which is the only way to make opt-in at checkout work, you cannot collect e-mail. If you would like to add an optional phone number field in the checkout flow specifically for SMS marketing, you can also do this. Please contact us for assistance on completing this step.
  2. Click Save.

Staying in the Checkout section, scroll down to Email Marketing

  1. Select “Show a sign-up option at checkout
  2. Select “Preselect the sign-up option” [Not required but highly recommended]
  3. Click Save.

Click Home in your Shopify admin and go to the Online Store.

  1. In the Current Theme section, click the Actions drop down and select Edit Languages
  2. Select the “Checkout and System” section along the top.
  3. Go to the “Checkout marketing” section. (Either scroll past half way or CTRL+F Checkout Marketing.)
  4. Replace the standard compliance language with: “I agree to receive emails or SMS messages from [your name]. By joining via text messages, you agree to receive recurring marketing messages from [your name] at the mobile number used to send the join text message. Msg & data rates may apply. Msg frequency is recurring. Consent is not a condition of purchase. STOP to unsubscribe, HELP for help. View Terms & Privacy”.
  5. Return to the top of the page and click Save.
{% if first_time_accessed %}
<script async src="<https://s3.us-east-2.amazonaws.com/assets.voyagetext.com/voyage.production.js>"></script>
 <script type="text/javascript">
 /* <![CDATA[ */
 (function(){if(window.voyage)return;window.voyage={q:[]};var fns=['init', 'track'];
 for(var i=0;i<fns.length;i++){(function(fn){window.voyage[fn]=function(){
 this.q.push([fn,arguments]);}})(fns[i])}})();voyage.init('[CLIENT ID]', { popup: true });
 /* ]]> */
 </script>
 <script type="text/javascript">
   voyage.track('Purchase', { amountCents: {{ order.total_price }} });
{% if  order.customer.accepts_marketing == true and order.customer.phone  != null and order.customer.phone.size > 9 %}
   voyage.track('MarketingPhone', { marketingPhone: {{ order.customer.phone }} });
{% endif %}
 </script>
{% endif %}

From the Shopify Admin, go to Settings > Checkout > Order Processing and find the section labeled Additional Scripts.