You can test out this extension right away!
-
Go to your Authentication dashboard in the Firebase console.
-
Click Add User to add a test user.
-
In a few seconds, go to your Mailchimp audience page, you'll see the test user's email appear.
- Go to your Firestore Database in the Firebase console.
Assuming the following params:
Member Tags Watch Path: registrations
Member Tags Watch Config:
{
"memberTags": ["jobTitle", "domainKnowledge"],
"subscriberEmail": "emailAddress"
}
-
Click Start collection and provide the following name "registrations"
-
Click Add document and populate the document:
{
emailAddress: "{MAILCHIMP_SUBSCRIBER_EMAIL_ADDRESS}",
jobTitle: "Marketing Manager"
}
- Confirm the user data has been updated in the "Tags" portion of your Mailchimp account: https://admin.mailchimp.com/lists/members/view?id={YOUR_MAILCHIMP_ACCOUNT_ID}
- Go to your Firestore Database in the Firebase console.
Assuming the following params:
Merge Fields Watch Path: registrations
Merge Fields Watch Config:
{
"mergeFields": {
"firstName": "FNAME",
"lastName": "LNAME",
"phoneNumber": "PHONE"
},
"subscriberEmail": "emailAddress"
}
-
Click Start collection and provide the following name "registrations"
-
Click Add document and populate the document:
{
emailAddress: "{MAILCHIMP_SUBSCRIBER_EMAIL_ADDRESS}",
firstName: "Janet",
lastName: "Jones",
phoneNumber: "000-111-2222"
}
- Confirm the user data has been updated in the "Profile Information" portion of your Mailchimp account: https://admin.mailchimp.com/lists/members/view?id={YOUR_MAILCHIMP_ACCOUNT_ID}
- Go to your Firestore Database in the Firebase console.
Assuming the following params:
Member Events Watch Path: registrations
Member Events Watch Config:
{
"memberEvents": ["activity"],
"subscriberEmail": "emailAddress"
}
-
Click Start collection and provide the following name "registrations"
-
Click Add document and populate the document:
{
emailAddress: "{MAILCHIMP_SUBSCRIBER_EMAIL_ADDRESS}",
activity: ['training_registration', 'welcome_email', 'reminder_email']
}
-
Click Add document and populate the document:
-
Confirm the event has been registered in the "Activity Feed" portion of your Mailchimp account: https://admin.mailchimp.com/lists/members/view?id={YOUR_MAILCHIMP_ACCOUNT_ID}
Whenever a new user is added your app, this extension adds the user's email address to your specified Mailchimp audience.
Also, if the user deletes their user account for your app, this extension removes the user from the Mailchimp audience.
As a best practice, you can monitor the activity of your installed extension, including checks on its health, usage, and logs.