Digital experiences for all disciplines
New Landing › How can we help? › Atelier › Mailchimp form code
New Landing › How can we help? › Atelier › Mailchimp form code
- This topic has 46 replies, 12 voices, and was last updated 8 years by David Martin – Support.
-
Posted in: Atelier
-
April 23, 2015 at 10:44 am #167598
Hey, I want to use the newsletter bar form. I’m using Mailchimp. Where can I simply put in my API code for the Newsletter/Subscribe Bar Form Code (can’t find any code on Mailchimp)
Thanks
April 23, 2015 at 10:59 am #167618Hi
When you create a campaign on mailchimp, you can create a form, then you can get the embed code for the form and paste it into Theme Options > Newsletter Options
– Kyle
April 23, 2015 at 11:14 am #167626Sorry, no code options anywhere. Maybe it’s just for users who pay? Any other option?
April 23, 2015 at 11:20 am #167627April 27, 2015 at 12:11 pm #169022Hey Kyle. Have tried the above, but end up losing the styling that comes with the template (that looks great).
I’ve tried embedding without CSS, but still looking a bit rough. Anyway of embedding the MailChimp into the subscribe bar and keep it looking like the original template styling?
April 27, 2015 at 12:14 pm #169024If you can provide me with a login toy our mailchimp account, and login to your website I can set this up for you
– Kyle
April 27, 2015 at 2:09 pm #169061Hi guys, if you find a solution for integrate the mailchimp form without losing the Atelier style, please tell me; im really interested on it
Regards!April 27, 2015 at 2:17 pm #169063Hi,
This is what we have in Theme options-> Newsletter/Subscribe Bar Options
<form action="//swiftideas.us2.list-manage.com/subscribe/post?u=a3950048c69f7be72a27013a9&id=68a002176a" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate> <input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL" autocomplete="off" placeholder="Enter your email address" title="Enter your email address"> <div id="mce-responses" style="display: none;"> <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;"><input type="text" name="b_a3950048c69f7be72a27013a9_68a002176a" tabindex="-1" value=""></div> <input type="submit" value="SUBSCRIBE" name="subscribe" id="mc-embedded-subscribe"> </form>
Hope it helps.
-Rui
April 27, 2015 at 2:17 pm #169064You should be able to grab code from Mailchimp which looks like this:
<form action="//swiftideas.us2.list-manage.com/subscribe/post?u=a3950048c69f7be72a27013a9&id=68a002176a" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate> <input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL" autocomplete="off" placeholder="Enter your email address" title="Enter your email address"> <div id="mce-responses" style="display: none;"> <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;"><input type="text" name="b_a3950048c69f7be72a27013a9_68a002176a" tabindex="-1" value=""></div> <input type="submit" value="SUBSCRIBE" name="subscribe" id="mc-embedded-subscribe"> </form>
You paste that into Theme Options > Newsletter Options
– Kyle
April 27, 2015 at 7:53 pm #169180Hi Guys,
I used the Knowledge base http://www.swiftideas.com/knowledgebase/replicate-the-newsletter-bar-form/ here to help me setup – worked fine and worth checking if your still having issues with styling etc.
I have one question of my own. I wanted to find out if anyone knows how to disable the email opt-in screen which appears after you enter your email address and click the banner. I don’t want to take the user away from my site the minute they sign up and would prefer to keep them on the homepage.
Cheers,
April 28, 2015 at 12:49 am #169261Hi @designward
As far as I’m aware unfortunately that isn’t possible as standard, because I think it’s required by Mailchimp for the subscription to be confirmed.
– Ed
April 28, 2015 at 6:06 am #169328This reply has been marked as private.April 28, 2015 at 8:17 am #169365The behaviour of the form has nothing to do with the theme, all we do is style it. The settings for the form, whether it be single or double opt-in, will be controlled via mailchimp
– Kyle
April 28, 2015 at 10:02 am #169449Hi,
I’m not sure if I’m pushing my luck here but I have just tried to use the mailchimp for WP plugin form – this links to mailchimp with an api and lets you make a simple form with an single opt in.
I have pasted the form code into the subscription bar but i have two issues:
1. Is the submit button has dropped below the email form field – the slick styling is lost.
2. The submit button does not seem to be working within this banner?If you can be of help with this it would be very much appreciated and i do think helpful to other users.
Best,
April 28, 2015 at 10:10 am #169456You should be able to create a single opt-in on the mailchimp site itself, you need to copy the ’embedded forms’ code, without any styling etc.
Using a plugin will likely encounter issues as you have described above
– Kyle
-
Posted in: Atelier
You must be logged in and have valid license to reply to this topic.