Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #604039

    Hello,
    I have a Mailchimp script that allows an automatic popup dialog form to appear for newsletter signups. Where would I embed that code? The code is listed in the Private Content box below for reference. Thank you!

    #604077

    Hey jgdoyle1!

    Thanks for getting in touch with us!

    Try using the code block content element in the Avia Page Builder.

    Regards,
    Jordan

    #604080

    Thanks for your response. I tried using the code block at the top and bottom of the homepage and other pages and it didn’t work. Does it have to be embedded directly into the header or something? Thank you.

    #604097

    Hi!

    Please add following code to Functions.php file in Appearance > Editor

    function custom_code_mc(){
    ?>
    // YOUR CODE GOES HERE
    <?php
    }
    add_action('wp_footer', 'custom_code_mc');

    Best regards,
    Yigit

    #621164

    Hi,

    I am trying to place a mailchimp popup form on my site. I followed the instructions of this thread, but it’s not working (neither the code block, nor adding it to the functions.php).

    Also, as we have 5 different languages we want to create a different popup on each language, which links to the different Mailchimp lists for each language.

    Thank you,
    Julia

    #622764

    Hey!

    Go to the Enfold > Theme Options then look for the Google Analytics Tracking Code field. Add the popup script there:

    <script type="text/javascript" src="//s3.amazonaws.com/downloads.mailchimp.com/js/signup-forms/popup/embed.js" data-dojo-config="usePlainJson: true, isDebug: false"></script><script type="text/javascript">require(["mojo/signup-forms/Loader"], function(L) { L.start({"baseUrl":"mc.us8.list-manage.com","uuid":"4323ff06c3090af0f33f0d870","lid":"2e39ecfe0d"}) })</script>
    

    It should work after that.

    Best regards,
    Ismael

    #625621

    Hi Ismael,
    thank you for your reply. We pasted the code in the GA tracking field, but it does not work. The pop up doesn’t show.

    Any other ideas?

    Thanks,
    Julia

    #626583

    Hi,

    We are working on your ticket please wait while we update the results here soon.

    We removed the code from the code block on the homepage and added it in functions.php so the code will be in the head section. To confirm the same please right click and view source the code is loading correctly now. However I didn’t see any popup not sure if the code is correctly working.

    As an alternate solution to build your email list you could also use list builder https://www.mailmunch.co/ or check out plugins which work with mail chimp https://wordpress.org/plugins/search.php?type=term&q=popup+newsletter

    Best regards,
    Vinnie

    • This reply was modified 8 years, 7 months ago by Vinay.
    #703985

    Hi there,
    Great thread. I’ve copied and pasted my mail chimp pop up code into the functions.php file but nothing seems to be happening. Can a moderator check my work to troubleshoot?

    #706107

    Hi,

    It’s not clear what your trying to do and after checking your site I could not find the mailchimp section.
    Please create a new thread and Would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)

    Best regards,
    Vinay

    #734664

    Hi guys,

    all these solutions doesn’t work for me. This is my code:

    <script type=”text/javascript” src=”//s3.amazonaws.com/downloads.mailchimp.com/js/signup-forms/popup/embed.js” data-dojo-config=”usePlainJson: true, isDebug: false”></script><script type=”text/javascript”>require([“mojo/signup-forms/Loader”], function(L) { L.start({“baseUrl”:”mc.us3.list-manage.com”,”uuid”:”d5b3425b350d1ef6fe0f642d1″,”lid”:”9285fb910b”}) })</script>

    When i have the previous theme I pasted into the footer and it worked but now nothing. How can I solve it?

    Best regards,
    Maria

    #736079

    Hi Maria!

    As far as i know you have already started a thread regarding this one. Let us continue there :)

    Best regards,
    Yigit

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