Why Add Groups?
Groups let you categorize subscribers by things like interests and preferences. Your Divi Optin Module subscribers can select Mailchimp groups for themselves, or you can put subscribers into groups without them knowing.
Groups are an easy way to add segmentation and personalization to your email subscriber list. Groups allow you to send emails to specific audiences who have particular interests, ultimately leading to a much higher conversion rate.
Log in to your Mailchimp account, and go to the Audience. Once you get to the Lists page (https://admin.mailchimp.com/lists), decide which list you want to add groups to and select it. Click on Manage Contacts.
Open Manage Contacts and click on Groups. Then click the button to Create Groups.
Next, you will see a question, “How should we show group options on your signup form?” Knowing which page(s) you plan to show the Divi Email Optin will help you to determine which groups to set up here in MailChimp.
The first 3 choices are used if you want the subscriber to see the groups and be able to make a choice. This will depend entirely on your situation. For example, if you want your subscriber to select topics on your blog that interest them, then choose the first option. If you want them to have a choice to select one option, choose the second or third options. DO NOT USE THE LAST OPTION.
Here are two examples.
one with a hidden group and
one with them shown as options.
Enter a name for the group category.
NOTE: It is important to word this correctly since this is the heading that will be shown if you chose options 1-3 in the previous step.
Under the category, enter at least two group names. Three come up by default, but you can add or remove them.
Hit the save button.
NOTE: The group category is what we will see later in the Divi Optin Module, but the groups inside the category are where the subscribers will be added.
In the above screenshot, I have a group category called Choose your Interests with 3 groups:
Divi Related Articles
Those will be the options that a new subscriber will have to choose from. We can also see that for the first Group I have already 2 subscribers and for the second one only 1 subscriber.
Before we jump into Divi, we need to double-check on something to verify the fields are showing correctly and to help you understand what’s going on here.
Once again in the audience menu, click on Signup Forms. Select the first one called Form Builder. Here you will see your form with the fields you chose in Step 2 and the groups from step 3.
You will notice the group fields are visible by default. That is very important, and the MUST BE VISIBLE here in MailChimp. If needed, you can click on a field and choose to hide or show those groups in the menu on the right.
Go to your website and add an Email Optin module to your Divi layout. We will use the Divi Optin module to add MailChimp groups which we set up in steps 1-3. You can make any design adjustments here that you want, but that is not relevant to this help article.
Go down to the Email Account toggle. Since this tutorial is specific to MailChimp, then, of course, you should choose MailChimp as the Service Provider.
Select the MailChimp list that you just configured in steps 1-3. Add your Mailchimp API if you haven’t already and select Fetch Lists (this refreshes the connection). Reminder, the API is found in your Mailchimp Dashboard > Account > Extras > API Keys.
Next, click on the Fields toggle.
Select the toggle to Use Custom Fields.
Select the plus button to Add New Custom Field.
In the field dropdown, choose the name of the Group Category you set up in step 2. Now that you see this in context, you may need to adjust the group category wording. Simply go back to your MailChimp Groups and make any changes.
As explained above, the field name that will appear here is actually the Group Category Name.
This will be the final result on the Front End:
Now, a subscriber can choose a Group to subscribe to depending on his preferences.
In MailChimp we can see our subscribers like this:
In this example, the Subscriber Joe Doe has chosen two groups: Divi Related Article and Divi Customization, while the second subscriber. Eduard Ungureanu, chose only one group, Divi Related Article.