@firstandthird/mailchimp-signup

2.1.0 • Public • Published

Mailchimp Signup UI npm Build Status

Installation

npm install @firstandthird/mailchimp-signup

Usage

JavaScript

import '@firstandthird/mailchimp-signup'
// or
import MailchimpSignup, { MailchimpSubscribeEvents as Events } from '@firstandthird/mailchimp-signup'

HTML

<div data-module="MailchimpSubscribe">
  <form class="form" data-action="submit" data-action-type="submit" action="[ENDPOINT]">
    <div data-name="fields" class="form-elements">
      <input type="text" name="EMAIL">
      <button type="submit">Subscribe</button>
    </div>
    <span class="hide" data-name="submitMessage"></span>
  </form>
</div>

Endpoint

Endpoint is in the form:

//[account name].us6.list-manage.com/subscribe/post-json?u=[user id]&id=[list id]

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.1.06latest

Version History

VersionDownloads (Last 7 Days)Published
2.1.06
2.0.00
1.3.11
1.3.00
1.2.00
1.1.10
1.1.00
1.0.30
1.0.20
1.0.10

Package Sidebar

Install

npm i @firstandthird/mailchimp-signup

Weekly Downloads

7

Version

2.1.0

License

MIT

Unpacked Size

30.1 kB

Total Files

6

Last publish

Collaborators

  • alaguna
  • aleperez92
  • dawnerd
  • ecwillis
  • jga
  • orthagonal1