UNDER DEVELOPMENT DO NOT USE

Intro

This is a plugin developed to manage your contacts on your audience. This plugins add a user to your audience or update it if it exists already.

We have some plans to expand this plugin and fully integrate with Mailchimp API, allowing you to use a full featured mailchimp integration in your Gatsby sites. Feel free to send suggestions :blush:

Based on Benjamin Hoffman’s gatsby-plugin-mailchimp and Rohov Dmytro’s gatsby-source-mailchimp. I recommend you to check those plugins, maybe they will help you too.

Installation

yarn add @vagalumedigital/gatsby-plugin-mailchimp-api

Usage

gatsby-config.js

[
  {
    resolve: `gatsby-plugin-mailchimp-api-v3`,
    options: {
      id: '<ID-OF-YOUR-MC-LIST>', // string; ID of your mailchimp list found on your list settings
      key: '<MC-API-KEY>', // string; You can find your API key in account settings of your mailchimp account.
      timeout: 3500, // number; the amount of time, in milliseconds, that you want to allow mailchimp to respond to your request before timing out. defaults to 3500
    }
  }
];