How can I add an opt-in checkbox for Mailchimp on a Turbo theme?

Hi,

I have the turbo theme installed on my client’s site and she would need to have an opt-in checkbox for the newsletter sign-up form.

I’ve been looking for apps and solutions, but haven’t found anything yet. She uses Mailchimp and I thought I might be able to add a checkbox there, but then couldn’t find a way to embed it to the site.

Is there a way I could add that checkbox there?

Thank you,

Orsi

Hi @Orsi ,

Please send your site and if your site is password protected, please send me the password. I will check it.

Hi,

Thank you for getting back to me, I really appreciate it!

This is the site: https://pranveraskincare.myshopify.com/

Orsi

Hi @Orsi ,

Please send me the password. I will check it.

Hi,

I sent you a DM with the details.

Thanks again!

Hi @Orsi ,

Go to include-newsletter.liquid file, find ‘mc-embedded-subscribe-form’ and change code here:

Code:


                  
                  
                

                 
                

Or you can add your own code.

Hi,

Thank you for the code! I added it but it is not working correctly.

  1. It doesn’t allow to enter the email address unless the checkbox is checked.

  2. The checkbox appears on the top - but should be in line with the text.

  3. Checkbox is checked, then email address is added, but the sign up button doesn’t do anything.

Can you please help fixing it?

Thank you!

Hi @Orsi ,

1: is it not what you want?

2: You want to show this:

#3: Please change code here:

Hi,

The goal would be to only allow people to sign up for the newsletter if they checked the checkbox (so they read and accept the terms + privacy policy). So the checkbox is mandatory to go further.

So,

  1. they should be able to add their emails, but if they would click the button, it would say, accept the terms. If they accept they can click on the button and be signed up through Mailchimp.

  2. Yes, that would be great to show it in one line - as on your screenshot!

  3. If they sign up, there is a text that says “thank you for signing up” - This worked originally, but should we add there now with this new code?

thanks,

Hi,

Just checking in to see if you have an update on this?

thank you!