Mailchimp - MindVista/website GitHub Wiki

Mailchimp

API keys are secured server-side with Next.js' server components. See Mailchimp's stance on API key security. See Mailchimp's documentation for more.

To add a subscriber

Use addListMember(email_address: string) from addMailchimpSubscriber.ts.

Removing subscribers

Please ARCHIVE subscribers. Do not permanently delete a user unless they have requested their data deleted. If a user is permanently deleted; they will not be able to resubcribe with the same email using our newsletter form.

See this StackOverflow explanation and Mailchimp's official documentation.