Skip to main content
Problem Solver I
November 23, 2020
Solved

WooCommerce - subscribe to newsletter checkbox at checkout

  • November 23, 2020
  • 20 replies
  • 4769 views

Hi,

How do I set the checkbox at checkout to have a tick in it automatically and the customer has to uncheck the box to subscribe if they dont want to?

cheers

    This topic has been closed for replies.
    Best answer by remstone

    At this time this is not possible with our plugin but it is something we can look into doing for a future release.

    20 replies

    Problem Solver I
    January 22, 2021

    Yes I had that with aweber, all buyers were automatically added to my newsletter list.

    Contributor I
    January 22, 2021

    Hi @katestrong, thanks for your response. With Mailchimp this is possible as well. I found that Zapier can do it:

    When a buyer is automatically added to a Mailchimp list (I don’t use MC for any mailings/campaigns anymore, just for this auto-added option with buyers) the ZAP will add them to my Klaviyo list ‘New Subscribers’. 

    At that point the Klaviyo flow will start. 

    I only still want to disable the double opt-in for that list. Just contacted Klaviyo for that.

     

    With your suggestion of Aweber you triggered me to use a ZAP, thanks!

    Problem Solver I
    January 22, 2021

    Glad you found a solution.

    July 1, 2021

    I have added this javascript on my checkout page and it works:

    <script type="text/javascript">

    I have added this javascript on my checkout page and it works:

    <script type="text/javascript">
    const cb = document.getElementById('kl_newsletter_checkbox');
    cb.checked=true;
    </script>

     

     

     

    const cb = document.getElementById('kl_newsletter_checkbox');
    cb.checked=true;
    </script>

     I can’t get this to work. This is my full code in Snippets...

     

    David To
    Klaviyo Employee
    Klaviyo Employee
    July 2, 2021

    Hello @mia,

    Since this is a custom code provided by @canquincalla, Klaviyo wouldn’t be able to provide assistance for it due to the custom nature of how this code functions as well as how it may interact with your site’s own code.

    One suggestion I would also recommend would be checking is to ensure that the Subscribe contacts to email marketing setting is enabled within your WooCommerce extension settings to be adding users to a designated Klaviyo list. Instructions for this can be found in the How to Integrate with WooCommerce article. Only with this setting enabled would the checkbox at the checkout page be replaced with a Klaviyo specific one. 

    Alternatively, you can also work with a developer to see if adjusting this code to align with your site code will work or finding a Klaviyo partner to help you in this endeavor. 

    I hope this helps!

    David

    Contributor I
    July 6, 2021

    i too would like to ask the question, the woocommerce addon is definitely lacking, what i would like to know is if i untick “Subscribe conctacts to email marketing” would that remove the opt-in tickbox on checkout and just sign them up automatically or does it stop the sign up complete?

     

    +1 for adding a auto-tick to the tickbox.

    David To
    Klaviyo Employee
    Klaviyo Employee
    July 6, 2021

    Hello @RookieKiwi,

    Having the Subscribe contacts to email marketing setting disabled would remove the opt-in tickbox from your checkout page altogether and would not sign users up to a list automatically. Without this option, you would not be giving your customers a chance to consent and opt-into your lists after completing the purchase. 

    David

    Contributor I
    July 16, 2021

    Hi,

    We have just installed the Woocommerce plugin and made the integration successfully. However, even if I tick the box Subscribe contacts to email marketing, it won’t show the checkbox in the checkout page.

    Has this ever happened to anyone?

    I can’t find a solution. I also installed on another website and even there is not showing up.

     

    Thanks

    Dov
    Klaviyo Alum
    July 16, 2021

    Hello @nikasbergaglio,

    I noticed you posted the same question in the thread below

    I have left a comment there for you, do let us know if you are still encountering any issues after running through those steps.

    DD
    Contributor I
    December 21, 2023

    For anyone interested in adding a newsletter subscribe checkbox to WooCommerce checkout, MailOptin plugin has the feature and it’s effortless to setup. And it integrates with Klaviyo.

     

    See How to Setup Subscribe to Newsletter via WooCommerce Checkout