Mailchimp subscription form
Mailchimp is a marketing automation platform and an email marketing service.
In other words this Mailchimp widget will help you to collect user emails right from you website to run email marketing campaign via Mailchimp web application. Below is the live example of the widget that collects emails for Createx Studio. Switch to HTML tab to see code example and instructions.
<!--
Widget: Subscription (MailChimp Ajax)
Instructions how to get MailChimp action link:
1. Log in to your MailChimp Dashboard / Audience / Manage Audience / Signup forms / Embedded forms
2. In the provided code find form action link and copy it
3. Paste it to the form action attribute below
4. Also in the form code provided by MailChimp find antispam input and copy it name attribute contents
5. Paste what you have copied from name attribute to the name attribute of input with class "subscription-form-antispam"
-->
<div class="widget">
<h3 class="h4">Subscribe</h3>
<form class="subscription-form validate" action="mailchimp-embedded-form-atcion-link" method="post" name="mc-embedded-subscription-form" target="_blank" novalidate>
<div class="input-group input-group-overlay flex-nowrap">
<input class="form-control" type="email" name="EMAIL" placeholder="Your email">
<div class="input-group-append">
<button class="btn btn-primary" type="submit" name="subscribe">Subscribe*</button>
</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 class="subscription-form-antispam" type="text" name="mailchimp-embedded-form-antispam-name-attribute" tabindex="-1">
</div>
<small class="d-block form-text fs-xs text-muted">*Subscribe to our newsletter to receive early discount offers, updates and new products info.</small>
<div class="subscription-status"></div>
</form>
</div>