Email Reporting
GET an Email Campaign Stats Report
Use this method to get email campaign performance tracking statistics for one or more campaigns, including the total number of times contacts interacted with your campaigns and how.
For each campaign_id, this method returns lists that include total counts (stats) for each type of tracked email and relevant campaign-related percentages (percents). It also returns the date and time at which the campaign stats were last refreshed. If any specified campaign_id is invalid, a 404 error response is returned for all campaigns.
get/reports/stats/email_campaigns/{campaign_ids}
Path parameters
campaign_idsstring required
A comma-separated list of campaign_ids (UUID's).
Response
Request was successful.
Example response
{
"errors": [
{
"error_key": "reportingsvc.not_found.invalid_path_param.campaign_ids.",
"error_message": "Could not find any campaign stats for all requested campaigns."
}
],
"results": [
{
"campaign_id": "82ee2c37-c8f8-4974-9560-ef93ad51d58z",
"stats": {
"em_bounces": 10,
"em_clicks": 280,
"em_clicks_all": 387,
"em_clicks_all_computer": 123,
"em_clicks_all_mobile": 211,
"em_clicks_all_tablet": 85,
"em_clicks_all_other": 4,
"em_clicks_all_none": 2,
"em_forwards": 39,
"em_not_opened": 25,
"em_opens": 220,
"em_opens_all": 399,
"em_opens_all_computer": 65,
"em_opens_all_mobile": 270,
"em_opens_all_tablet": 199,
"em_opens_all_other": 10,
"em_opens_all_none": 2,
"em_optouts": 2,
"em_sends": 308
},
"percents": {
"click": 40,
"desktop_click": 10,
"desktop_open": 20,
"did_not_open": 30,
"mobile_click": 40,
"mobile_open": 10,
"open": 70
},
"last_refresh_time": "2015-08-25T22:00:09.908Z"
}
]
}