I put my Mailchimp code into the Newsletter plugin provided by the Newspaper theme. When user click subscribe they are redirected to the Mailchimp site rather than seeing the default Mailchimp JS “thank you for subscribing” message. How can I fix this?
Thank you.
Hi,
That depends on how was set your code for Mailchimp -> https://i.imgur.com/fo2QAmf.png normal the Newsletter only display the email address field some text and the subscribe button (is providing only the style) the actions and functions are from the Mailchimp therefore the code for redirect it can be from there.
Thank you!
The redirect code is javascript. I opened a ticket with them and they said the issue is with the theme plugin.
Thank you.
Hi,
I just checked our newsletter and there is no JavaScript file -> https://i.imgur.com/C80f3GB.png -> https://i.imgur.com/C80f3GB.png
As you can see here https://i.imgur.com/zGzx47o.png is set the form with the code that you set in your newsletter, the Mailchimp code, this is opening a new tab to that this link -> https://i.imgur.com/MTU9Kiw.png
Thank you for your understanding!
Here is my Mailchimp embedded form code.
<!-- Begin Mailchimp Signup Form -->
<link href="//cdn-images.mailchimp.com/embedcode/classic-10_7.css" rel="stylesheet" type="text/css">
<style type="text/css">
#mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }
/* Add your own Mailchimp form style overrides in your site stylesheet or in this style block.
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
</style>
<div id="mc_embed_signup">
<form action="https://welcometospacelounge.us2.list-manage.com/subscribe/post?u=70a4cd21e573c5ea055e67c60&id=d055bc6e63" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<h2>Subscribe</h2>
<div class="indicates-required"><span class="asterisk">*</span> indicates required</div>
<div class="mc-field-group">
<label for="mce-EMAIL">Email Address <span class="asterisk">*</span>
</label>
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL">
</div>
<div id="mce-responses" class="clear">
<div class="response" id="mce-error-response" style="display:none"></div>
<div class="response" id="mce-success-response" style="display:none"></div>
</div> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_70a4cd21e573c5ea055e67c60_d055bc6e63" tabindex="-1" value=""></div>
<div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
</div>
</form>
</div>
<script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script><script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email'; }(jQuery));var $mcj = jQuery.noConflict(true);</script>
<!--End mc_embed_signup-->
I think you’re misunderstanding. I do not want to be directed to the Mailchimp site after clicking submit. The “classic” form includes a JS call that is supposed to publish a message at the bottom of the form after submission that says “thank you for signing up” Your plugin is not displaying this message and is instead directing users to the Mailchimp site.
Hi sasquatters,
I understand what you mean, but as I can remember the newsletter plugin from our theme is working like this > https://i.imgur.com/6xmng0n.png -> https://i.imgur.com/Dnmkc4M.png (from there you can choose to go back to website or go on) it will do the same if you set the Mailchimp code in a column text.
Also there were no changes in this plugin form a long time (more then one year).
Thank you for your understanding!
That is unfortunate. The javascript should work, show the thank you message, and keep people on the page. Please put this in as a feature request. I’m sure this is desired by many.