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 Code tab to see code example and instructions.

Subscribe

*Subscribe to our newsletter to receive early discount offers, updates and new products info.
import Subscription from '../components/Subscription'

{/* 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 <Subscription /> component action prop
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 antispam prop of <Subscription /> component */}

<Subscription
  action='mailchimp-embedded-form-atcion-link'
  antispam='mailchimp-embedded-form-antispam-name-attribute'
  placeholder='Your email'
  btnLabel='Subscribe*'
  helperText='*Subscribe to our newsletter to receive early discount offers, updates and new products info.'
  size='sm'
/>