How to Embed a Phone Number Signup Form in Your Shopify Website

The new SMSBump Subscription Forms let you embed a customizable phone number capture form in your Shopify website. You can design your form, generate the code in the SMSBump app, and then embed it yourself.

Embedding this type of subscription form requires some basic knowledge of HTML and CSS, but with our tutorial you will be able to do it even if you aren't fluent.
 

SMSBump Signup Form Embedded in Shopify

For forms that SMSBump displays without any coding, try the floating subscribe button or the popup form.
 

How to Generate the Signup Form Code

Let's assume you've already designed your signup form and you're ready to embed it.

To generate the code for your SMSBump signup form:

  1. Click Show Code

This will automatically save your progress with the form and will generate the code you need to embed in your theme’s template files.
 

SMSBump Signup Form Embed in Shopify Store
 

  1. Copy code

Copy the code for the subscription form displayed in the popup box.

SMSBump Signup Form Embed Code
 

Access Shopify Theme Files

Next, you will need to open your theme files and select the template you want to display the embedded signup form.
 

  1. Edit code

Go to Online Store > Themes > Actions and click Edit code in the dropdown.
 

SMSBump Signup Form Embed in Shopify Store
 

  1. Open Templates

Click Templates to open the folder with all the .liquid templates forming your Shopify design.

Select the template you want to display your embed, for instance index.liquid.
 

SMSBump Signup Form Embed in Shopify Store
 

  1. Paste Embed form code

Paste the code inside and click Save.
 

SMSBump Signup Form Embed in Shopify Store
 

Congratulations!

Your new signup form is now embedded in your Shopify website. You will be able to see it by going to the storefront and opening the page you just edited from your theme files.

In our case this was the index, meaning we will be able to see our new embedded signup form on the home page.
 

SMSBump Signup Form Embedded in Shopify Home Page
 

Adjust the Form Styles (Basic CSS Knowledge Required)

In case you want to make some additional adjustments to the form, you need to edit the styles. Let’s show you how.
 

  1. Modify the form

Go back to your theme files in the Shopify admin. Click on Snippets and find the subscription form file.
 

SMSBump Signup Form Embed in Shopify Store

Open the subscription form .liquid file to modify the code.


SMSBump Embed Form Open Subscription Form Liquid File


For example, let’s shrink the form from 1200px to 350px and click Save.

 

SMSBump Signup Form Embed in Shopify Store
 

Now the form has a more acceptable look and can be applied to the different template files so you can display it in multiple pages in your Shopify store design.
 

SMSBump Signup Form Embed in Shopify Store
 

Signup Form Successfully Embedded!

We hope you learned how to embed your new SMSBump signup form in Shopify. You can now create multiple different signup forms to embed, design them for different purposes and place them on different pages throughout your Shopify store so you can start getting more phone numbers and increase your SMS subscriber lists. Let us know if you need any help!

 


 

Start with SMS Marketing for Shopify with SMSBump

Start growing today

Sign up today and join 90,000+ eCommerce businesses making it big with Yotpo SMSBump