Mailchimp Integration
memberr integrates with Mailchimp to help you create personalized email campaigns using customer data from your loyalty program. This integration allows you to sync important customer information like store credit balances, membership status, and referral links directly to Mailchimp merge fields.
Installation
To integrate Mailchimp with memberr, you'll need:
- Your Mailchimp API Key
- Your Mailchimp Server prefix
Getting Your API Key
- Log in to your Mailchimp account
- Click on your profile name to expand the Account Menu
- Click "Account & Billing"
- Navigate to "Extras" > "API keys"
- Create a new API key or use an existing one
Finding Your Server Prefix
Your server prefix is part of your Mailchimp URL. For example, if your Mailchimp dashboard URL is https://us14.admin.mailchimp.com
, your server prefix is us14
.
Connecting to memberr
- In your memberr dashboard, go to "Integrations"
- Find Mailchimp in the list of available integrations
- Click "Connect"
- Enter your API Key and Server prefix
- Click "Save" to complete the connection
- Select the list you want to sync to
Merge Fields
Once connected, memberr automatically creates several merge fields in your Mailchimp list. These fields allow you to personalize your email campaigns with customer-specific information.
Currency and Balance Information
Field | Description | Example Value |
---|---|---|
M_CURCODE | The currency code used for the customer's Store Credit | "USD" |
M_CURBAL | The raw integer value of available Store Credit (in smallest currency unit) | 1000 |
M_UPCBAL | The raw integer value of pending Store Credit (in smallest currency unit) | 500 |
M_CBALFMT | The formatted decimal value of available Store Credit | 10.00 |
M_UBALFMT | The formatted decimal value of pending Store Credit | 5.00 |
M_CBALSYM | The formatted available Store Credit with currency symbol | "$10.00" |
M_UBALSYM | The formatted pending Store Credit with currency symbol | "$5.00" |
Customer Information
Field | Description | Example Value |
---|---|---|
M_REFLINK | The customer's unique referral link | "https://store.com/?memberr-ref=abc123" |
M_MEMNAME | The customer's current membership tier name | "Gold" |
M_MEMEXP | The customer's membership expiration date | "2024-12-31" |
Using Merge Fields in Email Campaigns
To use these merge fields in your email campaigns:
- Create or edit an email campaign in Mailchimp
- Click where you want to insert a merge field
- Click the merge tags button (|MERGE|)
- Select the desired merge field from the list
Example Template
_13Dear *|FNAME|*,_13_13You currently have *|M_CBALSYM|* in Store Credit available to spend!_13_13*|IF:M_UPCBAL > 0|*_13Good news! You have *|M_UBALSYM|* in Store Credit coming soon._13*|END:IF|*_13_13Share your referral link with friends: *|M_REFLINK|*_13_13*|IF:M_MEMNAME|*_13Your current membership tier is: *|M_MEMNAME|*_13*|END:IF|*
Best Practices
- Use Formatted Values: When showing amounts in emails, use the formatted fields (M_CBALFMT) or symbol fields (M_CBALSYM) for proper display.
- Raw Values for Conditions: Use the raw balance fields (M_CURBAL, M_UPCBAL) when creating conditional content.
- Currency Awareness: Always consider the currency code (M_CURCODE) when displaying amounts to ensure proper currency handling.
- Referral Links: The M_REFLINK is automatically generated and unique to each customer, making it perfect for referral campaigns.
Data Syncing
memberr automatically syncs customer data to Mailchimp whenever there are changes to:
- Store credit balance
- Membership status
- Referral program participation
- Currency preferences
This ensures your email campaigns always use the most up-to-date customer information.