Table of Contents
To integrate your Mailchimp newsletter signup form with your Jekyll site, you need to add your Mailchimp list (audience) URL to the site’s configuration.
What is the Mailchimp List URL?
The Mailchimp list URL (sometimes called the form action URL) is a unique link provided by Mailchimp for each audience (list) you create. This URL allows your website to send subscription requests directly to your Mailchimp account.
How to Find Your Mailchimp List URL
- Log in to your Mailchimp account.
- Go to the “Audience” section and select the audience (list) you want to use.
- Click on “Signup forms” in the audience dashboard.
- Choose “Embedded forms.”
- In the code Mailchimp provides, look for the
form
tag. Theaction
attribute contains your unique list URL. It will look something like:https://YOUR_PREFIX.list-manage.com/subscribe/post?u=YOUR_U_ID&id=YOUR_ID
How to Add or Update the Mailchimp List URL in Jekyll
- Open your site’s
config.yml
file in a text editor. - Find the following setting (or add it if it doesn’t exist):
mailchimp-list: "https://themeix.us16.list-manage.com/subscribe/post?u=4b7aa1c5c5ac54be844d58bcb&id=0e85c09412"
- Replace the example URL above with your own Mailchimp list URL that you copied from the Mailchimp dashboard.
For example:
mailchimp-list: "https://YOUR_PREFIX.list-manage.com/subscribe/post?u=YOUR_U_ID&id=YOUR_ID"
Be sure to save your changes and redeploy your site after updating the configuration.