Mailchimp Popup form not working

  • Unknown's avatar

    Whenever we paste the code for the Mailchimp Popup form it gets rid of the code and doesn’t work?

    The blog I need help with is: (visible only to logged in users)

  • Hi there,

    I don’t see a Mailchimp widget active in any of the widget areas on http://mattfreer.wordpress.com/. Is that the correct site, and where exactly are you trying to add the code?

    The Mailchimp popup code can only be added in the Mailchimp widget. If you try to add it directly to a post or page, or in a text or HTML widget, it will get stripped out the moment you try to save.

    Add a Mailchimp Pop-Up

  • Unknown's avatar

    Sorry it is not on that wordpress.com site but another one I manage.

    Yes I am adding the Mailchimp popup code to the Mailchimp widget on a wordpress.com site, but it seems to on saving strip out the code.

  • Can you please give the address of the correct site, and also the code you’re trying to add?

    Use the Code button here in the forum to paste the code to prevent it from being stripped out or rendered here.

  • Unknown's avatar

    Thanks. The website is http://timsteadmindfulness.wordpress.com

    I’m trying to add the mail chimp popup form in the footer widget area, using the Mailchimp Subscriber popup widget.

    The code I am copying from Mailchimp is:
    //downloads.mailchimp.com/js/signup-forms/popup/unique-methods/embed.jswindow.dojoRequire(["mojo/signup-forms/Loader"], function(L) { L.start({"baseUrl":"mc.us19.list-manage.com","uuid":"7e1796caf8e4c833fcb79c6ff","lid":"51423a6da7","uniqueMethods":true}) })

    As soon as I save that in the widget it gets stripped to:
    <a href="//downloads.mailchimp.com/js/signup-forms/popup/unique-methods/embed.js">//downloads.mailchimp.com/js/signup-forms/popup/unique-methods/embed.js</a>window.dojoRequire(["mojo/signup-forms/Loader"], function(L) { L.start({"baseUrl":"mc.us19.list-manage.com","uuid":"7e1796caf8e4c833fcb79c6ff","lid":"51423a6da7","uniqueMethods":true}) })

  • Unknown's avatar

    The website is http://timsteadmindfulness.wordpress.com

    I am adding the Mailchimp Subscriber Popup widget in the footer widget area.

    The code I am copying from Mailchimp is:
    //downloads.mailchimp.com/js/signup-forms/popup/unique-methods/embed.jswindow.dojoRequire(["mojo/signup-forms/Loader"], function(L) { L.start({"baseUrl":"mc.us19.list-manage.com","uuid":"7e1796caf8e4c833fcb79c6ff","lid":"51423a6da7","uniqueMethods":true}) })

    That code on saving in the widget gets stripped to:
    <a href="//downloads.mailchimp.com/js/signup-forms/popup/unique-methods/embed.js">//downloads.mailchimp.com/js/signup-forms/popup/unique-methods/embed.js</a>window.dojoRequire(["mojo/signup-forms/Loader"], function(L) { L.start({"baseUrl":"mc.us19.list-manage.com","uuid":"7e1796caf8e4c833fcb79c6ff","lid":"51423a6da7","uniqueMethods":true}) })

  • The code should get converted to a shortcode, something like

    [mailchimp_subscriber_popup baseUrl='mc.us17.list-manage.com' uuid='...' lid='...' usePlainJson='true' isDebug='false']

    You posted twice. Is the forums stripping out part of your code? I’m asking as the code you posted above is missing the script tags, as well as a piece from the start. See the example here:

    Add a Mailchimp Pop-Up

  • Unknown's avatar

    The code isn’t getting converted.

    I copy from Mailchimp the following:
    //downloads.mailchimp.com/js/signup-forms/popup/unique-methods/embed.jswindow.dojoRequire(["mojo/signup-forms/Loader"], function(L) { L.start({"baseUrl":"mc.us19.list-manage.com","uuid":"7e1796caf8e4c833fcb79c6ff","lid":"51423a6da7","uniqueMethods":true}) })

    Once I save that in the widget it appears as:
    <a href="//downloads.mailchimp.com/js/signup-forms/popup/unique-methods/embed.js">//downloads.mailchimp.com/js/signup-forms/popup/unique-methods/embed.js</a>window.dojoRequire(["mojo/signup-forms/Loader"], function(L) { L.start({"baseUrl":"mc.us19.list-manage.com","uuid":"7e1796caf8e4c833fcb79c6ff","lid":"51423a6da7","uniqueMethods":true}) })

  • Unknown's avatar

    Yes the forum is stripping the code I am pasting in from Mailchimp. It is the right code from Mailchimp and I am able to copy it into the widget and this forum, but as soon as it is saved the widget changes it – and so does the forum!

  • So, it looks like you aren’t getting the right code from MailChimp to start off with. Have you tried starting over to see if works? Maybe try a different browser.

  • Unknown's avatar

    I am getting the right code from MailChimp, it looks like the example on the support page – https://en.support.wordpress.com/mailchimp/#the-subscriber-popup-form

    When i paste the code into this forum or the widget on the wordpress.com site it gets stripped to the examples above.

    I’ve tried starting over in Firefox and Safari, both give the same results as explained above.

  • I’ve sent you an email to the address on file for this account. Please send us the code there instead so we can test it on our end – I don’t know why the forums keep stripping it out here as well.

  • Unknown's avatar

    Thanks. Email sent to you.

  • Unknown's avatar

    I am having the same issue and submitted an email inquiry Friday but have not heard anything yet.

    Has this been resolved?

  • Hi @mlbpsu, it ended up that the code was adding some extra stuff that was causing issues. We’ll email you to see if we can get the code you’re using as well. Thanks!

  • The topic ‘Mailchimp Popup form not working’ is closed to new replies.