Solved! Go to Solution.
Hello Sara,
Thank you for reaching out to Constant Contact API Developer Support. My team is here to assist outside software developers with questions about building into Constant Contact's API.
It looks like we've already followed up with you directly via email, but here is the information provided for visibility on the forum:
It is definitely possible to obtain the unique opens reporting for your campaigns through our API. I would note that on the website and through the API, the reporting for unique opens has to be pulled per campaign but if you want to build an integration to automate that part of the process, here’s how it could be done via API:
In order to obtain the unique opens reporting for your campaigns that includes the contact details for each individual recipient, you would first need to get the campaign ids for all of your campaigns. You can do this with the Get a collection of Email Campaigns endpoint. I would note that this request pulls data for all campaigns, including drafts. Since you’ll only need the sent campaigns, you’ll want to pull the campaign ids for the campaigns that appear with a status of “Done”.
GET a Collection of Email Campaigns:
Once you have your collection of campaign IDs, you can use the Get Details About a Single Email Campaign endpoint to obtain the campaign activity ID for each campaign.
GET Details About a Single Email Campaign:
Once you have the campaign activity ID, you can use it to get the unique opens report for each campaign, which will provide the contact details for each recipient who opened your campaigns.
GET an Email Unique Opens Report:
https://developer.constantcontact.com/api_reference/index.html#!/Email_Reporting/getUniqueOpens
Alternatively, if you don’t need to pull the contact details for each individual recipient of a campaign, you can use the Get an Email Campaigns Summary Report endpoint which provides an overview for the statistics of up to 500 campaigns including unique sends, opens, clicks, forwards and opt outs.
GET an Email Campaigns Summary Report:
Please have a look and let us know if you have any other questions!
Regards,
Hello Sara,
Thank you for reaching out to Constant Contact API Developer Support. My team is here to assist outside software developers with questions about building into Constant Contact's API.
It looks like we've already followed up with you directly via email, but here is the information provided for visibility on the forum:
It is definitely possible to obtain the unique opens reporting for your campaigns through our API. I would note that on the website and through the API, the reporting for unique opens has to be pulled per campaign but if you want to build an integration to automate that part of the process, here’s how it could be done via API:
In order to obtain the unique opens reporting for your campaigns that includes the contact details for each individual recipient, you would first need to get the campaign ids for all of your campaigns. You can do this with the Get a collection of Email Campaigns endpoint. I would note that this request pulls data for all campaigns, including drafts. Since you’ll only need the sent campaigns, you’ll want to pull the campaign ids for the campaigns that appear with a status of “Done”.
GET a Collection of Email Campaigns:
Once you have your collection of campaign IDs, you can use the Get Details About a Single Email Campaign endpoint to obtain the campaign activity ID for each campaign.
GET Details About a Single Email Campaign:
Once you have the campaign activity ID, you can use it to get the unique opens report for each campaign, which will provide the contact details for each recipient who opened your campaigns.
GET an Email Unique Opens Report:
https://developer.constantcontact.com/api_reference/index.html#!/Email_Reporting/getUniqueOpens
Alternatively, if you don’t need to pull the contact details for each individual recipient of a campaign, you can use the Get an Email Campaigns Summary Report endpoint which provides an overview for the statistics of up to 500 campaigns including unique sends, opens, clicks, forwards and opt outs.
GET an Email Campaigns Summary Report:
Please have a look and let us know if you have any other questions!
Regards,
To download campaigns to a pdf (to post to website archives) requires programming?! Is there an easier way that CC has set up to download campaigns as pdfs to a folder?
Hello ErinR842,
Thank you for reaching out to Constant Contact API Developer Support. My team is here to assist outside software developers with questions about building into Constant Contact's API.
The process listed above is just for those who are building an integration with Constant Contact and prefer to do it programmatically.
To download your campaigns as a PDF within the website interface, you can follow the steps in the following article:
Download or print an email
https://knowledgebase.constantcontact.com/articles/KnowledgeBase/6130-download-an-email-campaign
Alternately, once each email is sent, we host a permanent URL for each sent email as a web page which you can link to if you'd prefer:
The permanent URL for a campaign
https://knowledgebase.constantcontact.com/articles/KnowledgeBase/6128-email-campaign-url
If you would like assistance with this process, please reach out to Constant Contact's Support Team at 866-289-2101.
Please have a look and let us know if you have any other questions!
Announcements
Join our list to be notified of new features and updates to our V3 API.
Sign Up