GMT Mailchimp WP Rest API
Add WP Rest API hooks for JS use of the Mailchimp API.
by Chris Ferdinandi · github.com/cferdinandi/gmt-mailchimp-wp-rest-api · website
★ 12stars
3forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/cferdinandi/gmt-mailchimp-wp-rest-api/archive/refs/heads/master.zipDeclares an update source (https://github.com/cferdinandi/gmt-mailchimp-wp-rest-api/), so updates arrive through the plugin's own updater.
From the readme
GMT Mailchimp WP Rest API
Add WP Rest API middleman for the Mailchimp API.
This allows you to keep your credentials private on the server when using the Mailchimp API in client-side code (aka JavaScript).
Supported Use Cases
- Adding subscribers
- Updating existing subscriber interest groups
- Getting subscriber counts for your entire list or a specific interest group
Getting started
First, configure your API settings under Settings MailChimp API in the Dashboard.
Required Fields
- API Key - Your API key from Mailchimp.
- List ID - The ID of the list/audience that you want to add subscribers to.
Optional Fields
- Form Key/Form Secret - If you're using a form to submit to the API, adding a hidden key/secret field to the form can help minimize bulk robot submissions. Details on how to use it in the Sign Up Form section below.
- Honeypot - The name of a hidden field you can add to your field to help detect bot form submissions without inconveniencing real humans. Details on how to use it in the Sign Up Form section below.
- Allowed Domains - You can restrict use of the API to only calls that happen from an allowed list of domains. Separate allowed domains with a comma.
- Blo