Use this endpoint to retrieve a summary report of all activities for a contact, sorted by campaign. Use this report to see which campaigns a contact had higher reactions to.
Click a method to view its documentation
Privileges required: contacts:read
Retrieves a summary report of the contact's (specified using the contactID
path parameter) activities for each email campaign that has been sent to them, grouped by individual campaign. Unsubscribe activities are not included in this report.
GET: https://api.constantcontact.com/v2/contacts/{contactId}/tracking/reports/summaryByCampaign |
|||
name |
type |
default |
description |
---|---|---|---|
api_key |
query |
REQUIRED; The API key for the application |
|
contactId |
path |
Specifies the contact to retrieve all activities for |
code |
description |
---|---|
200 |
Request was successful |
401 |
Authentication failure |
404 |
contact id not found |
406 |
Unsupported accept header value, must be application/json |
500 |
Internal server error occurred |
property |
type(max length) |
description |
---|---|---|
bounces |
integer |
Number of email bounces that occurred for this contact |
campaign_id |
string |
Specified the email campaign for which the activities occurred |
clicks |
integer |
Number of unique link clicks the contact made in the email campaign |
contact_id |
string |
Specifies the contact that performed the activity |
forwards |
integer |
Number of times the contact forwarded the email campaign |
opens |
integer |
Number of times the contact opened the email campaign |
[ { "campaign_id":"1113426659593", "contact_id": "1", "opens": 1, "clicks": 3, "forwards": 1, "bounces": 0 }, { "campaign_id":"1113486982341", "contact_id": "1", "opens": 2, "clicks": 1, "forwards": 0, "bounces": 0 }, { "campaign_id":"1156741532951", "contact_id": "1", "opens": 1, "clicks": 0, "forwards": 2, "bounces": 0 } ]