Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1450537

    I have Mailchimp Signup both in Finnish and Swedish, and own Mailchimp lists for both languages. Why does the form not fetch the correct audience’s GDPR text from Mailchimp audience settings?

    #1450621

    Hey tammiviestinta,
    Thanks for the link to your page, I’m not able to add a single GDPR checkbox to my mailchimp form, instead I see this:
    Enfold Support 6095
    I also don’t have a paid account so I can not create two lists to choose from in the newsletter element to determine the error. I assume that when you test the checkboxes in both languages that they work correctly and the only issue is the language of the text.
    Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor, it will change the text for your Swedish page:

    function replace_the_checkbox_label_in_a_mailchimp_form_to_a_different_language() { ?>
      <script>
    (function($){
      $('html[lang="sv-SE"] #element_avia_av_privacy_agreement_1 label').text("Jag samtycker till att min information kommer att läggas till i Starck Coaching Oys marknadsföringsregister Reset Your Beliefs i enlighet med registerutlåtandet och jag kommer att få ett nyhetsbrev i framtiden. Jag kan avregistrera mig från nyhetsbrevet när som helst.");
    })(jQuery); 
    </script>
      <?php
    }
    add_action( 'wp_footer', 'replace_the_checkbox_label_in_a_mailchimp_form_to_a_different_language', 99 );

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.

    Best regards,
    Mike

    #1451376

    Thank you! Now it works!

    #1451378

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Mailchimp subscription’ is closed to new replies.