Skip to main content

Switch your BigCommerce newsletter form to SmartrMail

Point an old or custom BigCommerce theme's newsletter form at a SmartrMail list.

Overview

If your BigCommerce theme uses BigCommerce’s standard newsletter form, you can skip this guide. Sign-ups from that form already sync to SmartrMail through the integration.
​

Use this guide if your theme is old or custom and its newsletter form still sends sign-ups to another email app, like Mailchimp. You change the form so it adds people to a SmartrMail list instead.

Step 1: Copy your form code from SmartrMail

  1. Go to Grow → Profiles and open the Lists tab.

  2. Open the list you want sign-ups to join. If you don’t have one yet, click New list first.

  3. Click More actions (⋯) and choose Get sign-up form.
    ​

  4. Open Design and, under Style, choose Unstyled. Your theme’s own styles then apply to the form.

  5. Open Embed code and click Copy code. Paste it somewhere handy. You need the form’s action URL from it, which looks like https://go.smartrmail.com/subscribe/abc123.
    ​

Step 2: Open your theme files in BigCommerce

In your BigCommerce dashboard, go to Storefront > My Themes. Then click Edit HTML/CSS under Advanced Options.
​

Step 3: Find your sign-up form

Your form is usually in the SideNewsletterBox.html file.
​

Step 4: Point the form at SmartrMail

  1. In the <form> tag, replace the action attribute with the action URL from your SmartrMail code, for example https://go.smartrmail.com/subscribe/abc123. Keep the form’s other attributes, like its id and class, so its styling stays the same.
    ​

  2. Inside the form, add this hidden field. It stops bots from signing up:

    <input name="subscribe_form[anti_bot]" type="text" style="display: none" />
  3. Optional: check the name attributes of the inputs. SmartrMail reads EMAIL for the email address, and FNAME and LNAME for first and last name. A Mailchimp form already uses these names, so you don’t need to change them.
    ​

  4. Click Save.

  5. Test the form on your store with your own email address, then check that you appear in the list in SmartrMail.

Good to know: the switched form
​

After sign-up: people see a SmartrMail page that confirms their sign-up. To send them to your own page, enter a Thank-you page URL under After sign-up on the sign-up form page.

Double opt-in: if the list has double opt-in turned on in Settings → Sending, people must confirm by email before they join.

Other field names: SmartrMail also accepts subscribe_form[email], subscribe_form[first_name] and subscribe_form[last_name], if your form already uses those.

For all the sign-up form settings, see Add a sign-up form to a page.


FAQs

Click a question to open it.

My theme uses the standard BigCommerce newsletter form. Do I need to do this?

No. Sign-ups from BigCommerce’s standard newsletter form sync to SmartrMail through the integration.

Which list do people join?

The list whose sign-up form you copied the action URL from. To use a different list, copy that list’s action URL instead.

Will my form keep its look?

Yes, if you only change the action URL, add the hidden field and keep the form’s id and class attributes. The look comes from your theme, not from SmartrMail.

Where is the old Get Embed Form button?

It’s now Get sign-up form, in the More actions (⋯) menu on the list page.


Need a hand with your BigCommerce sign-up form?

Our team is happy to help. Book a 1:1 call with the SmartrMail team and we’ll set it up with you.

Did this answer your question?