> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.unicornplatform.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How To Activate Mailchimp Integration

Collecting emails is a crucial goal for the majority of landing pages. With Unicorn Platform you can quickly hook up your Mailchimp account and start collecting emails right away. This illustrated guide will help you to set the forms up in a few minutes.  

![User data collected by Mailchimp](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/all-subscribers-of-sasha-mailc_i6bsrc.png)

**Updated** on the 8th of July 2022. Mailchimp has changed its interface, so I have changed the screenshots below.

[Unicorn Platform](https://unicornplatform.com/) offers predesigned and precoded AJAX forms (so-called Diaforms) which work out of the box:

![](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/form_14h10lp.gif)

These magical forms do this:

*   Engage users to subscribe to your newsletter.
*   Collect emails and send them to your Mailchimp list via AJAX.
*   Show server or network errors.

All you need to activate it is to copy-paste a unique attribute from your Mailchimp account. Here is a few steps guide to set the forms up:

## 1. Log in or create an account 

Log in to your account https://login.mailchimp.com/, or create an account if you are not registered yet. 

![Mailchimp log in screen](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/login-mailchimp-2022-07-06-13-_16ebysr.png)

## 2. Go to "Audience" and navigate to the "Signup forms" page

![Mailchimp Audience dashboard](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/chromeoids5trfeq_h0taw.png)

## Step 3. Choose “Embedded Forms”

![Signup forms options](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/chrome9ibewxfajx_1ngtw9h.png)

## Step 4. Skip editing the form and click on "Continue"

![Editing the form](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/chrome82xhcdln6t_1jhhvtp.png)

## Step 5. Copy the action

* Here you need to copy the form **action** link from the code. 

To find the right section of the code, use the search on the page with the keyword **"action"** (`Cmd+F` or `Ctrl+F` in most browsers).

![Selecting the necessary string of code](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/chrome4w2jwjmfyw_15zisiy.png)

Select and copy the value of the action. Please do not include the quotes.

Example of the correct form action: 

`https://page.us13.list-manage.com/subscribe/post?u=9253a27d310ccbf9b6a182&id=5dcb26c4&f_id=00ed5e9f0`

## Step 6. Insert the action

All you need to do is to paste the extracted action value into a Unicorn Platform component which contains a Mailchimp form.

![Inserting the action into a form component](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/screencast-2022-07-06-13-22-04_131c4wn.gif)

That’s all! Congratulations! Now your form will collect visitors’ emails and send them to your Mailchimp list.

## Additional form fields

If you want to collect more types of data (such as names, phones, websites, etc.), you will need to perform an additional configuration.

First, add the required fields to a Unicorn Platform form.

![Unicorn Platform form editor](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/unicorn-platform-builder-2022-_xq2pqt.png)

* By clicking on the gear icon, open the settings for a field and check its name.

![Default name of the field](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/chromeugmmxt6sq3_4200fy.png)

* In Mailchimp, go to **Signup forms** > **Settings** tab > **Audience fields and |MERGE|  tags**. 

![Audience settings](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/chromekgvpind0gh_1azol2x.png)

![Audience fields and |MERGE|  tags](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/chromen5rzj6imhl_5v20ou.png)

* Check if the field name in Unicorn Platform matches one of the default names in Mailchimp.

![Name of the fields in Mailchimp](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/chrome7i54shx90u_qj2o81.png)

The name of the Unicorn Platform form field ** "TEL"** does not match the **"PHONE"** field name in Mailchimp. 
To avoid losing data from the submitted form, we need to match the field names. 
We can change it both in Unicorn Platform form editor and in Mailchimp settings. 
It doesn't matter where exactly, the main thing is that they match.

![Comparison of Unicorn Platform and Mailchimp form field names](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/chromesnuq1wm9td_8dcee4.png)

In this case, we have changed the field name in Unicorn Platform to match the field name in Mailchimp.

|| Make sure to write field names in upper case.

![Matching field names in Unicorn Platform and Mailchimp](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/mspaintsnwiat07h9_1q9gfae.png)

###  Creating new fields in Mailchimp

Let's say you want to add a website field to your form. 

!["WEBSITE" field in Unicorn Platform](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/chromen6adpfg33i_rrehcx.png)

By default,  Mailchimp doesn't have a field named "WEBSITE" so we need to create a new one. To do so, click **Add A Field**.

!["Add A Field" button](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/chromepfn3awsgm3_1r0kxr.png)

Select a field type to add. In our case, it's **Website**.

![Selecting a field type](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/chromechbropyhhl_ejhmcb.png)

Change the name of the field to match with Unicorn Platform's field, i.e. "WEBSITE" (check the name of the field in the form editor in Unicorn Platform) And click on **Save Changes**. 

![Name changing of a new field](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/chrometxjdzopnxf_15a38oi.png)

Facing difficulties setting up the integration? Feel free to contact us via support chat 🙂


---


🙌

## F.A.Q
**Q:**
> Why is the form not being submitted (error: Please enter a value)?
**A:** You definitely need to add the email field, it is configured by default in Mailchimp, so you also need to add it to your form on your website..

![](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/screenshot8_8c5utj.png)

![](https://storage.crisp.chat/users/helpdesk/website/7e782a40c0560c00/screenshot9_1ef8lfi.png)

