Datastone mailchimp sync icon

Datastone mailchimp sync

Mailchimp sync

This is a simple craftcms plugin to have a newsletter subscribe form and registers new members to mailchimp.

Inslation

composer require datastone/craft-mailchimp-sync

In the plugin config you will need to set the Api key and Audience id

make sure the api key ends with the mailchimp server eg: us3

And you can add a form to your twig template like this

<form method="post" target="_self">
    {{ actionInput('datastone-mailchimp-sync/news-letter/subscribe') }} 
    {{ csrfInput() }}
    <input type="email" name="email" placeholder="E-mailadres" required>
    <button type="submit">Subscribe</button>
</form>

Only the email will be send to mailchimp, you have to make sure you have no other required fields in mailchimp.

Roadmap

  • Posibility to add more fields to the form like first and lastname

  • serperate server id, for custom api keys

  • unsubscribe functions

Installation Instructions

To install this plugin, copy the command above to your terminal.

Active Installs
1
Version
1.0.0
License
MIT
Compatibility
Craft 4
Last release
February 18, 2023
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs