• Resolved bkcl

    (@bkcl)


    Hello, Sorry I couldn’t reply to the previous thread. The old post I created was here.

    https://wordpress.org/support/topic/mailchimp-for-wp-integration-with-popup-maker/

    I have tried putting the code which you provided and the pop-up ended up at the footer, instead of popping up after a user input his email and subscribed to the mailing list, would need further help on this. Thanks!

    I am using Inbound Now landing page to make this page, and there is a Custom JS section which I have input into the page.

    For reference, this is the website.
    http://www.sgwealthacademy.com/go/personal-cashflow-statement/

    popup ID is popmake-102 which I have made changes to in the code which was previous provided.

    jQuery(document).on('subscribe.mc4wp','.popmake-content .mc4wp-form', function() {
    var $popup = PUM.getPopup(this);
    
    $popup.trigger('pumSetCookie');
    
    setTimeout(function () {
    $popup.popmake('close');
    }, 1); // nearly instant - measured in milliseconds
    
    jQuery('popmake-102').popmake('open');
    });
    

    Appreciate the help, thank you!

    • This topic was modified 7 years, 4 months ago by bkcl.
Viewing 6 replies - 1 through 6 (of 6 total)
  • @bkcl

    Just to be clear, the process is working as intended, but the confirmation popup is displaying in the footer?

    Thanks.

    Thread Starter bkcl

    (@bkcl)

    Sorry I should have made it clear.

    I wanted the pop up to appear after the user has input his/her email and subscribe to the mailing list. However, it does not seem like it is the case. What is appearing in the page now (using the code which was provided), is that the message which I wish for it to pop up only after the subscribe button is pressed, is in the footer instead.

    Plugin Author Daniel Iser

    (@danieliser)

    @bkcl – This actually sounds more like one popup has an extra closing </div> somewhere causing the contents of the next to be rendered outside of a popup.

    That said this jQuery('popmake-102') should be jQuery('#popmake-102')

    Thread Starter bkcl

    (@bkcl)

    @danieliser – Thank you for pointing out the missing # sign. Will make the changes.

    Is there any way to change the JS code in order to suit to this? I am currently using a shortcode for the form for email subscription and it doesn’t seem like I would be able to change any custom code for it.

    Also, I was thinking if the form name needs to be inserted into the line:
    jQuery(document).on('subscribe.mc4wp','.popmake-content .mc4wp-form', function()

    Pardon my questions if I sound weird, as I have no prior experience with both java as well as html.

    Plugin Author Daniel Iser

    (@danieliser)

    @bkcl – Sorry for the delay, not exactly sure what you are asking for. The code you have there should work. Not sure what type of change your after.

    Closing this ticket due to inactivity. If you’re still having an issue, create a new thread, link this one, and we will continue troubleshooting.

    Please take a moment to rate and review our plugin and/or support.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Mailchimp for WP integration with Popup Maker (follow up)’ is closed to new replies.