Skip to main content

Switch your Maropost Commerce Cloud (Neto) newsletter form to SmartrMail

Edit your Neto footer template so newsletter sign-ups join a SmartrMail list.

Overview

Most Maropost Commerce Cloud (formerly Neto) themes have a newsletter form in the footer. This guide changes that form so sign-ups join a SmartrMail list. You copy one URL from SmartrMail, then edit your footer template in Neto.

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 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.
    ​

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

Step 2: Open your footer template in Neto

  1. From the Neto Dashboard, select Settings & Tools > All Settings & Tools.
    ​

  2. Find Webstore Templates under the System Templates section.
    ​

  3. Click the plus sign next to the theme you’re using. Go into Footers and click Template.html. The template opens in an editor.
    ​

Step 3: Point the form at SmartrMail

  1. Find and remove this code:

    <input type="hidden" name="list_id" value="1">
    <input type="hidden" name="opt_in" value="y">

    and this code:

    <input name="inp-submit" type="hidden" value="y" />
    <input name="inp-opt_in" type="hidden" value="y" />
  2. Find this form tag:

    <form method="post" action="[%URL type:'page' id:'subscribe' https:'1'%][%END URL%]">

    Replace it with a form tag that uses your SmartrMail action URL. It should look like this:

    <form accept-charset="UTF-8" action="https://go.smartrmail.com/subscribe/abc123" method="post">

    If your original form tag had an id or class attribute, keep it so the form’s styling stays the same.

  3. Find this email input:

    <input name="inp-email" class="form-control" type="email" value="[%nohtml%][@inp-email@][%/nohtml%]" placeholder="Email Address" required/>

    Replace it with this:

    <input id="inp-email" class="form-control" name="subscribe_form[email]" type="text" placeholder="Email Address"/>

    Keep your original id and class attributes so the styling stays the same.

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

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

  6. Test the form on your store with your own email address. You should see a SmartrMail page that confirms your sign-up, and you should appear in the list in SmartrMail.

Optional: send people to your own thank-you page

On the sign-up form page in SmartrMail, open After sign-up and enter a Thank-you page URL. Use a full URL, like https://yourstore.com/thanks. You don’t need to change your Neto template again.
​

Good to know: the switched form
​

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

Name fields: to collect names too, name the inputs subscribe_form[first_name] and subscribe_form[last_name].


FAQs

Click a question to open it.

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.

Where is the customise form page?

It’s now the sign-up form page. Open a list, click More actions (⋯) and choose Get sign-up form.

Do I need to edit the template again if I change the thank-you page?

No. SmartrMail reads the Thank-you page URL when someone signs up, so the change applies straight away.


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