Skip to main content

Switch your Shopify newsletter form to SmartrMail

Point a Shopify sign-up form that used another email app at a SmartrMail list.

Overview

If your Shopify theme uses its own newsletter sign-up form, you don't need to do anything. That form is already connected: sign-ups appear in the Shopify Subscribers list in SmartrMail shortly after someone signs up.
​

If you have no sign-up form yet, add one with Add a sign-up form to a page, or use a sign-up pop-up.
​

If your form was connected to another email app, follow the steps below to point it at a SmartrMail list instead.
​

How to switch your form to SmartrMail

In SmartrMail

  1. Go to Grow → Profiles and open the list you want sign-ups to join.

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

  3. Open After sign-up and enter a Thank-you page URL, the page people see after they sign up. Use a full URL, like yourstore.com/thanks. Your homepage works if you don't have one.

  4. Open Embed code and click Copy code. You need two parts of it: the form's action address, which ends in /subscribe/ followed by your list's code, and the hidden anti-bot field.
    ​

    Sign-up form page with the After sign-up panel

In Shopify

  1. In your Shopify admin, click Online Store. Next to your current theme, click ⋯ and choose Edit code.
    ​

  2. Find your sign-up form. It's usually in the footer or newsletter-form liquid files.
    ​

  3. Replace the form's action attribute with the action address from SmartrMail.
    ​

  4. Inside the form, add the anti-bot field:

    <input name="subscribe_form[anti_bot]" type="text" style="display: none" />
  5. Click Save.

Good to know: switching a form
​

Field names: SmartrMail reads the email field when it's named EMAIL or subscribe_form[email], and names from FNAME and LNAME. If your form uses other names, replace the whole form with the SmartrMail code instead.

No thank-you page: if you leave Thank-you page URL empty, people see a SmartrMail page that confirms their sign-up.

Test it: sign up with your own email, then check the list in Grow → Profiles.


FAQs

Click a question to open it.

Where is the Get Embed Form button?

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

Do I need these steps if I use my theme's own newsletter form?

No. Sign-ups from your theme's own form already reach the Shopify Subscribers list.

Can I just paste the SmartrMail form instead?

Yes. Paste the full code from Embed code where your old form was. See Add a sign-up form to a page.


Need a hand with switching your 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?