get_domain_performance
Retrieve campaign performance segmented by recipient email domain to identify deliverability issues and compare engagement across providers.
Instructions
Retrieve campaign performance broken down by recipient email domain (gmail.com, outlook.com, etc.).
Use to identify deliverability issues with specific providers or compare engagement across domains. Use get_campaign_report for overall aggregate metrics. Only works for sent campaigns.
Args: campaign_id: The Mailchimp campaign ID (e.g. 'abc123def4'). Must be a sent campaign.
Returns: JSON with total_items and domains array. Each domain: domain (string, e.g. 'gmail.com'), emails_sent (int), bounces (int), opens (int), clicks (int), unsubs (int).
Example: get_domain_performance(campaign_id="abc123") -> {"total_items": 15, "domains": [{"domain": "gmail.com", "emails_sent": 2000, "opens": 500, "clicks": 80, ...}]}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| campaign_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |