How To Add ‘Accepts Marketing’ To Customer Registration Form In Shopify

If you don’t, you risk getting hit with spam complaints, disgruntled prospects who don’t convert, and cranky customers who feel like you’re taking advantage of them.

Fortunately, there’s an easy way to solve all that. Keeping your customers and prospects happy with the level of marketing they receive is not as complicated as you might think.

In fact, it’s pretty easy once you understand the process. You get a big pay-off for a small time investment too.

In this post, we’re going to cover how to add ‘accepts marketing’ to the customer registration form in Shopify, so that you never have to worry about this again.

In some cases, when customers sign up for an account, by going to your account signup form (rather than through the checkout when they are making a purchase), you might want them to default to “Accepts Marketing” instead of the normal “Does not accept marketing”.

How to Add ‘Accepts Marketing’ to Customer Registration Form in Shopify

  1. Go to Admin > Themes > Edit HTML/CSS > register.liquid under Templates. This is where your signup form lives.
  2. Find the code {% endform %}.  This is the end of your signup form.  The code below needs to go BEFORE that endform tag in order to work. It can go anywhere, just paste it in, then load the form and make sure it still looks neat, moving it around if required.
  3. If you want to just have them ‘accept’ automatically, without asking, add this code:
        <input type="hidden" name="customer[accepts_marketing]" value="true" id="marketing" />

    Use at your own risk – generally, it’s accepted (and in some places legally required) to ask for permission before signing a customer up.

    If you’d like to ask them first, use this instead (RECOMMENDED):

    <div id="accepts_marketing " class="clearfix large_form">
    <input type="checkbox" name="customer[accepts_marketing]" checked="checked" value="true" id="marketing" />
    <label for="marketing" style="font-weight:normal">I want to receive the newsletter. <strong>This is required in order to become an official member.</strong></label>
  4. Test the form yourself – go to and sign up with your own email address.  Then, go to Admin > Customers, find yourself, and make sure you have “Accepts Marketing” against your name like this:

Once done, your customers will have “Accepts Marketing” on their account when signing up. They will have clear expectations about what kind of marketing they will receive from you, which makes for much smoother sailing.

Thank you for keeping up to date with our Shopify Insider Blog @ Blackbelt Commerce. Please make sure to check out our products. We also have some top blog recommendations for you to check out; Bilingual Theme Retired,  The Benefits of Multichannel Thinking,   the most exciting e-commerce marketing  trends in 2019, the ultimate guide on the best shopify Apps,  and Social Media. As always, keep a lookout for new blog posts.

Have a question about this? We are happy to answer in the comments.

What are the top Shopify stores doing?

Take what we've learned and use it to your advantage.
Get our exclusive research: Insights from over 500 Shopify Stores.

Powered by ConvertKit

Add Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.


Add Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.