Use this script to archive your inactive MailChimp subscribers, by sending a confirmation e-mail and then deleting users, who didn't respond.
I didn't have a good feeling just deleting inactive subscribers... And there are people who won't get tracked because they don't accept images in their e-mail client. So I designed this script go the safe way.
- Tag your inactive subscribers (best by using segements)
- Send a campaign (gets identified by its date and title) to your tagged subscribers that includes a confirmation url (that shows they want to receive the e-mails).
- Wait for your subscribers to respond (a week or two)
- Install and run this script to archive inactive members
- Install node and npm
- Clone this repo
- Run
npm install
inside the root project folder to download dependencies - Rename ".env-sample" to ".env" and insert your MailChimp API-key after the equal sign
- Edit the settings at the beginning of main.js (when I'll work on this project again, I'll make a interface, I promise!)
- Run the script either locally (
npm start
ornode main
) or globally (first runnpm link
once and themc-clean
) - Confirm that you want to archive the subscribers
- Wait for the batch process to finish
This project is licensed under the terms of the MIT license.