• Resolved zahraaliux

    (@zahraaliux)


    I have created an email subscription form in Contact Form 7 using this code:

    <div class="subscription-form-wrapper"> <div id="subscription-form-container" class="email-submit"> <div class="column1">
    
    [email* your-email placeholder "? Enter Email"]
    
    </div> <div class="column2">
    
    [submit "Subscribe!"]
    
    </div> </div> </div> <input type="hidden" name="mc4wp-subscribe" value="1" />

    As you can see, I have added a hidden field, but nothing is being sent to MailChimp. Any help would be appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter zahraaliux

    (@zahraaliux)

    The debug log shows:

    [2024-06-01 06:45:38]?INFO:?Contact Form 7 > Successfully subscribed esty****@gm***.com

    However, the subscription is not being sent to MailChimp. Any help would be appreciated.

    Thread Starter zahraaliux

    (@zahraaliux)

    I found the issue. The problem was that I had chosen “Double opt-in?” Yes. After switching it off, it works fine.

    Plugin Contributor Lap

    (@lapzor)

    With double opt-in turned on you should receive an opt-in email from Mailchimp. Only after clicking the link in the email the subscriber is added to the audience.

    If you’re not receiving opt-in emails, maybe they’re going to spam, In that case look into setting up SPF and DKIM for Mailchimp: https://mailchimp.com/developer/transactional/docs/authentication-delivery/

    Hope that helps. If you have any questions, please let me know!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.