Mailchimp HTML snippet for subscribe popup is being stripped
-
The inscructions provided in https://en.support.wordpress.com/mailchimp/ does not work anymore, since the code HTML provided by Mailchimp to render a subscribe popup are stripped when I insert it in the ‘Mailchimp Subscriber Popup’ widget in Widget Edit mode.
The blog I need help with is: (visible only to logged in users)
-
Hi –
That’s odd. The pop up version is the only one supported on WordPress.com. Could you share the code snippet that you used and that was then stripped out? I’d like to take a look and help you get this sorted.
-
Thanks for your answer!
Strangely, the Mailchimp HTML snippet are not being stripped anymore ! But, anyway, the popup does not appear in either way!
The widget is located on a footer area, the theme is Book Lite.
The Mailchimp snippet follows:
//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":"4f90d4b37f40461a1e5e1e69e","lid":"8748764435","uniqueMethods":true}) })
And the blog I need help with is saltosnoimaginario.wordpress.com, not oacordado.wordpress.com . -
Lol, the code was stripped! Here it is, bad you don’t have a preview option!
//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":"4f90d4b37f40461a1e5e1e69e","lid":"8748764435","uniqueMethods":true}) })
-
Thanks for the additional details, when you add the JavaScript code into the widget we check to make sure that the code is valid then transform it into a Shortcode.
It looks like MailChimp has changed the code they use so our validation is failing and the code is getting striped instead of being transformed into a shortcode/rendering on the page.
We have let our development team know and they are working on a fix but I don’t have a timeline for you. Once it’s fixed the shortcode will start working again.
- The topic ‘Mailchimp HTML snippet for subscribe popup is being stripped’ is closed to new replies.