Buy me a coffee

Force option “Sign up for news and updates”

To make the option “Sign up for news and updates” enabled in default, you can follow these steps:

force-option-sign-up-for-news-and-updates-01-min

#1. First, use this free tool to find the data section id (the section where you use this form/newsletter).
In this example, we will have a section [data-section-id=”65d64cda320e1635de724f53″]

force-option-sign-up-for-news-and-updates-02-min

#2. Use this code to Code Injection – Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script>
$(document).ready(() => {
    $('section[data-section-id="65d64cda320e1635de724f53"] button').on('click', () => {
        setTimeout(() => {
            $('input[value="Sign up for news and updates"]').click()
        })
    });
})
</script>

force-option-sign-up-for-news-and-updates-03-min