811

Product support

Get help in the plugin support forum.

Categories

The plugin allows to automatically subscribe a user to a Mailchimp or/and Mailrelay newsletter when the user is registered. The subscriptions are executed via api and plugin settings are used to control which platform (or platforms) will be the user subscribed to.

This plugin allows easy management of newsletter subscriptions and unsubscriptions for users of your platform, either through Mailchimp or MailRelay.

What do you need?

To control Mailchimp subscriptions, you need your project to have the Rainlab Mailchimp plugin (https://octobercms.com/plugin/rainlab-mailchimp) configured with your API key . To control MailRelay subscriptions, you need your project to have the Utopig Studio MailRelay plugin (https://octobercms.com/plugin/utopigs-mailrelay) configured with your API key and account name.

How I make it work?

Once you have both plugins installed, the first step is to make sure you have a field in the user registration form called "utopigs_newsletter_subscription". You can add this field to your form like this:

<div class="form-group">
    <div class="form-check">
        <input type="checkbox" class="form-check-input" id="newsletter" name="utopigs_newsletter_subscription" value="1">
        <label class="form-check-label" for="newsletter">I want to subscribe to the newsletter</label>
    </div>
</div>

The second, and last, step is to configure the plugin using the plugin options. There you will find checkboxes to mark which mailing platform your users will subscribe to, along with an input to indicate the chosen Mailchimp list.

1.0.2

Refactor code so the subscribe and unsubscribe methods can be called from other plugins

May 09, 2024

1.0.1

First version of Subscriptions

Mar 14, 2024