MailChimp
Provides MailChimp integration services.
MailChimp
Provides MailChimp integration services.
Configuring
In order to use the plugin you need to get the API key from your MailChimp account.
- In the OctoberCMS back-end go to the System / Settings page and click the MailChimp link.
- Paste the API key in the MailChimp API key field.
Installation via Command Line
php artisan plugin:install RainLab.MailChimp
Creating the Signup form
You can put the MailChimp signup form on any front-end page. Add the MailChimp Signup Form component to a page or layout. Click the added component and paste your MailChimp list identifier in the MailChimp List ID field. Close the Inspector and save the page.
The simplest way to add the signup form is to use the component's default partial and the {% component %} tag. Add it to a page or layout where you want to display the form:
{% component 'mailSignup' %}
If the default partial is not suitable for your website, replace the component tag with custom code, for example:
<form
id="subscribe-form"
data-request="mailSignup::onSignup"
data-request-update="'mailSignup::result': '#subscribe-form'"
>
<input type="text" name="email" placeholder="Newsletter subscription">
<input type="submit" class="btn btn-default" value="Subscribe"/>
</form>
The example uses the standard partial mailSignup::result for displaying the subscription confirmation message. If you don't like the standard message you can create your own partial in your theme and specify its name in the data-request-update attribute. The default partial is located in plugins/rainlab/mailchimp/components/signup/result.htm.
-
David Watson
Worked for me. Thank-you.
-
Mike Avdeev
can anyone provide demo? cos plugin doesnt work for me.
- it installed 2, api key - ok entered
- component added to page -
- list code entered
- no change in form partitial using orig template
and no subcribers , no popus about ok singed and etc
-
Alvaro Salcedo
It is a useful plugin. I would really appreciate it if there was a better explanation for the POST and DELETE methods. Thank you for your work.
-
Daniel
Any way to get a bit more information regarding this plugin? For example: how to go further on Mailchimp or is it possible to add multiple form fields and pass that to Mailchimp?
My main issue now is that I cannot send the information to Mailchimp. I inserted the API key, filled out the form, as written in the documentation. When looking into my newly created list, which I provided with the ListId, it seems to be empty.
-
Devin Green
Very Useful. Keeps things simple. plus the partial extending is amazing
-
LTN
Works very well... but why is there no "Configure Mailchimp API number" specific permission ?
How can I make an admin group not able to change this API number ?
-
Janis Mozumacs
Frithjof Gressmann it works in partials as well, you just have to add component to the layout and move the code to partial.
-
FG
Good one, however, it would be cool if signup form would work in partials as well.
-
SLIDER.WEB studio
Good work
-
Matiss Janis Aboltins
Great plugin! Thanks for all the hard work.
-
Alex Bass
Works as expected!
-
Martin Tale
With few modifications this is a very useful plugin. Thanks.
-
| 1.0.6 |
Compatibility with composer 2 Sep 29, 2026 |
|---|---|
| 1.0.5 |
Fixes sign up response data availability Jul 22, 2024 |
| 1.0.4 |
Switch to MailChimp API v3 Aug 10, 2018 |
| 1.0.3 |
Improve compatibility with PHP7 Sep 07, 2017 |
| 1.0.2 |
Minor improvements to the code Feb 13, 2015 |
| 1.0.1 |
Initialize plugin May 12, 2014 |