Mailchimp
Connect Anedot to Mailchimp to automatically sync donation and lead data, configure Action Page settings, map standard and custom fields with merge tags, and manage supporter profiles within your Mailchimp audience.
Mailchimp is a marketing automation platform that enables you to manage email campaigns, build subscriber lists, and engage donors through targeted outreach.
Anedot’s integration with Mailchimp allows donation and lead data from Action Pages to be automatically relayed and synced with your Mailchimp audience.
Table of Contents
Connecting Anedot to Mailchimp
To set up the integration:
-
In your Anedot account, go to Settings > Integrations > Directory.
-
Click + New Connection.
-
Select Mailchimp from the integrations list.
-
Choose the Action Pages to sync (default is all).
-
To exclude specific pages, enter a comma-separated list of their IDs.
-
-
(Optional) Limit the integration to a specific Team.
-
Enter your Mailchimp API Key (must be a Private API Key).
-
Enter your Audience ID (also known as List ID).
-
If you need help locating these, contact Mailchimp Support.
-
-
Click Save to complete the connection.
You can update Action Pages, Team settings, and credentials at any time after setup.
Data Relays
-
Relays are sent for both financial and non-financial pages.
-
You can use Push Unsent to resend past or failed relays by specifying a date range.
-
After 5 failed attempts, the integration is marked inactive and will stop sending relays.
-
How Mailchimp Handles Data
-
Mailchimp deduplicates contacts based on email address.
-
If a supporter donates again using the same email but different personal info (e.g., name), the latest submission data will overwrite the previous values.
-
Relays automatically create or update contact profiles, but Mailchimp does not send notifications when this occurs.
Field Mapping
To properly sync data, set up your Audience fields and |MERGE| tags in Mailchimp under: Audience > View Contacts > Settings > Audience fields and |MERGE| tags
Here’s how Anedot fields map to Mailchimp tags:
Anedot Field | Mailchimp Merge Tag |
---|---|
First Name | FNAME |
Last Name | LNAME |
Phone | PHONE |
Address Line 1 | STREET |
Address Line 2 | STREET2 |
City | CITY |
State | STATE |
Zip Code | ZIPCODE |
UTM Campaign | UTMCAMPGN |
UTM Content | UTMCONTENT |
UTM Medium | UTMMEDIUM |
UTM Source | UTMSOURCE |
UTM Term | UTMTERM |
Source Code | SRCECODE |
Event | EVENT (Anedot: Submission Completed) |
Donation Amount | AMOUNT |
Submission Date | DONATEDATE |
Page URL | DONATEURL |
Fund ID and Amount | FUNDALLOC |
Phone Consent | OPTINPHONE |
Email Consent | OPTINEMAIL |
Custom Fields
Anedot also supports relaying Custom Fields added to Action Pages.
To display Custom Field data in Mailchimp:
-
In the Action Page Builder, go to the Form tab and edit the desired Custom Field.
-
Create a Mailchimp Merge Tag that follows these rules:
-
Remove spaces and special characters.
-
Use only the first 10 characters, all in uppercase.
Example:
-
Custom Field Label: "Which feature would you like to learn more about?"
-
Merge Tag Sent:
WHICHFEATU
-
-
Ensure this exact tag is set up in Mailchimp under your Audience field settings.
If you have multiple Custom Field Labels that begin with the same 10 characters, adjust the labels to ensure each tag is unique.
Payload Data
Request Headers
{ }
Request Body
{
"merge_fields": {
"CITY": "New Orleans",
"EVENT": "Anedot: Submission Completed",
"FNAME": "Annie",
"LNAME": "Dot",
"PHONE": "8765678987",
"STATE": "LA",
"AMOUNT": "100.0",
"STREET": "1340 Poydras St",
"STREET2": "",
"UTMTERM": "",
"ZIPCODE": "70112",
"BIRTHDAY": "",
"SRCECODE": "",
"DONATEURL": "https://secure.anedot-sandbox.com/09388ffc-9f3f-43ee-855a-1f70c7a9b764/cab0834d-ad6d-4177-8125-1da2c194f5ef",
"FUNDALLOC": "InternalIdentifier:1001,Amount:100.0",
"UTMCAMPGN": "",
"UTMMEDIUM": "",
"UTMSOURCE": "",
"DONATEDATE": "05/05/2023",
"UTMCONTENT": ""
},
"email_address": [[email protected]](/cdn-cgi/l/email-protection)",
"status_if_new": "subscribed"
}
Response Body (Success)
{
"id": "96e28bd38b0f19d052922a4aadc6d539",
"vip": false,
"tags": [],
"stats": {
"avg_open_rate": 0,
"avg_click_rate": 0
},
"_links": [{
"rel": "self",
"href": "https://us20.api.mailchimp.com/3.0/lists/c90e84a68f/members/96e28bd38b0f19d052922a4aadc6d539",
"method": "GET",
"targetSchema": "https://us20.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/Response.json"
}, {
"rel": "parent",
"href": "https://us20.api.mailchimp.com/3.0/lists/c90e84a68f/members",
"method": "GET",
"schema": "https://us20.api.mailchimp.com/schema/3.0/Paths/Lists/Members/Collection.json",
"targetSchema": "https://us20.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/CollectionResponse.json"
}, {
"rel": "update",
"href": "https://us20.api.mailchimp.com/3.0/lists/c90e84a68f/members/96e28bd38b0f19d052922a4aadc6d539",
"method": "PATCH",
"schema": "https://us20.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/PATCH.json",
"targetSchema": "https://us20.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/Response.json"
}, {
"rel": "upsert",
"href": "https://us20.api.mailchimp.com/3.0/lists/c90e84a68f/members/96e28bd38b0f19d052922a4aadc6d539",
"method": "PUT",
"schema": "https://us20.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/PUT.json",
"targetSchema": "https://us20.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/Response.json"
}, {
"rel": "delete",
"href": "https://us20.api.mailchimp.com/3.0/lists/c90e84a68f/members/96e28bd38b0f19d052922a4aadc6d539",
"method": "DELETE"
}, {
"rel": "activity",
"href": "https://us20.api.mailchimp.com/3.0/lists/c90e84a68f/members/96e28bd38b0f19d052922a4aadc6d539/activity",
"method": "GET",
"targetSchema": "https://us20.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/Activity/Response.json"
}, {
"rel": "goals",
"href": "https://us20.api.mailchimp.com/3.0/lists/c90e84a68f/members/96e28bd38b0f19d052922a4aadc6d539/goals",
"method": "GET",
"targetSchema": "https://us20.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/Goals/Response.json"
}, {
"rel": "notes",
"href": "https://us20.api.mailchimp.com/3.0/lists/c90e84a68f/members/96e28bd38b0f19d052922a4aadc6d539/notes",
"method": "GET",
"targetSchema": "https://us20.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/Notes/CollectionResponse.json"
}, {
"rel": "events",
"href": "https://us20.api.mailchimp.com/3.0/lists/c90e84a68f/members/96e28bd38b0f19d052922a4aadc6d539/events",
"method": "POST",
"targetSchema": "https://us20.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/Events/POST.json"
}, {
"rel": "delete_permanent",
"href": "https://us20.api.mailchimp.com/3.0/lists/c90e84a68f/members/96e28bd38b0f19d052922a4aadc6d539/actions/delete-permanent",
"method": "POST"
}],
"ip_opt": "52.13.182.211",
"source": "API - Generic",
"status": "subscribed",
"web_id": 600306575,
"list_id": "c90e84a68f",
"language": "",
"location": `{`
"dstoff": 0,
"gmtoff": 0,
"region": "",
"latitude": 0,
"timezone": "",
"longitude": 0,
"country_code": ""
},
"full_name": "Annie Dot",
"interests": {
"2c37dcdb40": false,
"6c3e2d4b9b": false
},
"ip_signup": "",
"contact_id": "5f55b3c36ed692ad1a5da38edc8ffa2d",
"email_type": "html",
"tags_count": 0,
"email_client": "",
"last_changed": "2023-05-08T17:15:13+00:00",
"merge_fields": {
"CITY": "New Orleans",
"EVENT": "Anedot: Submission Completed",
"FNAME": "Annie",
"LNAME": "Dot",
"PHONE": "8765678987",
"STATE": "LA",
"AMOUNT": 100,
"STREET": "1340 Poydras St",
"STREET2": "",
"UTMTERM": "",
"ZIPCODE": "70112",
"SRCECODE": "",
"DONATEURL": "https://secure.anedot-sandbox.com/09388ffc-9f3f-43ee-855a-1f70c7a9b764/cab0834d-ad6d-4177-8125-1da2c194f5ef",
"FUNDALLOC": "InternalIdentifier:1001,Amount:100.0",
"UTMCAMPGN": "",
"UTMMEDIUM": "",
"UTMSOURCE": "",
"DONATEDATE": "2023-05-05",
"MYLABELFIE": "",
"UTMCONTENT": ""
},
"email_address": "[[email protected]](/cdn-cgi/l/email-protection)",
"member_rating": 2,
"timestamp_opt": "2022-09-02T21:08:21+00:00",
"unique_email_id": "b3ed7ab68f",
"timestamp_signup": "",
"consents_to_one_to_one_messaging": true
}
Response Body (Failure 1)
{
"type": "https://mailchimp.com/developer/marketing/docs/errors/",
"title": "Resource Not Found",
"detail": "The requested resource could not be found.",
"status": 404,
"instance": "3b8bda84-fdad-22ea-6fec-9ae4c79379ca"
}
Response Body (Failure 2)
{
"type": "https://mailchimp.com/developer/marketing/docs/errors/",
"title": "API Key Invalid",
"detail": "Your API key may be invalid, or you've attempted to access the wrong datacenter.",
"status": 401,
"instance": "207e182a-1468-3455-a18f-41d286d25188"
}
Response Body (Error)
{ }
Response Status (Success)
200
Response Status (Failure 1)
404
Response Status (Failure 2)
401
Response Status (Error)
null