The following is valid for all Campaignion Out-of-the-Box installations. If you have a customised version, there may be slight differences. Feel free to ask support if in doubt!
Please be aware that for syncing of Campaignion data with a Mailchimp list to work, the supporter needs to have an email opt-in activated for that list either through a Campaignion webform or already saved in the Campaignion supporter database.
Adding merge fields step-by-step
We will take the example of the tags field :)
- open the list(s) you'll be using in MailChimp
- go to Settings --> "List fields and *
- scroll to bottom --> "Add a field"
- choose type "text"
- name it "Tags"
- replace the merge "MMERGE1" (the number after the MMERGE can vary) with "TAGS"
- Save the changes
Repeat these steps for all the fields you need. The available merge fields are listed below.
Campaignion offers the following standard merge fields:
- EMAIL --> a text field for the email address
- FNAME --> a text field for first name
- LNAME --> a text field for last name
- SALUTATION --> a text field with Mr, Mrs, Ms, ...
- TITLE --> a text field with Dr., Prof, ...
- GENDER --> a text field with m or f
- DOB --> either a text field or a birthday field for the date of birth
- COUNTRY --> a text field for a country chosen in the corresponding form field
- ZIP --> a text field with zip code / post code
- CITY --> might also be a village ;-P
- REGION --> or State, or devolved country
- STREET --> for the Street / Address1 field
- CREATED --> a date field or a text field recording when this supporter record was created first in Campaignion
- UPDATED --> a date field or a text field recording when this supporter record was last updated
- TAGS --> a text field for the auto-segmentation tags added to online actions
On request, some additional merge fields can be available under some conditions (supporters with a postcode in the UK, "Email to Target" feature activated with access to the MP dataset and you asked support for the activation):
- MP_CONST --> the constituency of the supporter's MP
- MP_PARTY --> the party of the supporter's MP
- MP_NAME --> the name of the supporter's MP
- DVCOUNTRY --> devolved country of the supporter's MP, ie. England, Wales,...
It should then look something like this:
Adding your own fields to MailChimp
Apart from the standard fields listed above you can add any of your custom fields from your Campaignion webform by adding the Campaignion form key in the MailChimp merge field.
Subscribe your supporters to MailChimp Interest Groups
If you are using Interest Groups, you can set up your opt ins on your Campaignion forms to add subscribers to those groups - you’ll need to ask support to enable the MailChimp Interest Groups module for you.
Once that’s done, you’ll see an additional ‘Groups’ tab in the configuration options of the opt in field, which will list all the MailChimp Interest Groups available in your account. You can use this tab to select which groups you would like to add subscribers to. (It will list ALL the available Groups in your MailChimp account, so make sure that you have also selected the correct List in the Lists tab; the supporter will only be added to the Interest Group if they are also subscribed to the relevant List.)
This means you can, if you want, have multiple opt ins on your page, which subscribe people to different MailChimp lists and/or groups.
Multiple opt-in components/form elements with distinct lists are each taken into account separately.
If two (or more) components have overlapping lists then subscribes take precedence over unsubscribes. For example if you set up two fields linked to the same list but with different Interest Groups, with No=unsubscribe, and the user said Yes to the first and No to the second, then the user would be subscribed to the list with the Interest Group from the first. (Both responses will be recorded individually in the opt-in/opt-out export.)
Bear in mind that unsubscribes are always per list; they ignore the group setting. So if the user in the scenario above was already on that list with the second Interest Group, and picked 'No' on that second newsletter field, they would not be removed from that Interest Group.
For further information on MailChimp please refer to their really helpful documentation: kb.mailchimp.com