Hi,
Is there a quick and easy way of getting the total numbers of email sent, delivered, open, click etc data ?
I have the email ids as well as their program and folder id that I wanna pull the data for but I cannot find any endpoint where I can pull the analytics data by the email id.
This is how I am doing it now. I am creating the bulk extract jobs [https://developers.marketo.com/rest-api/bulk-extract/] With the following body:
{
"format": "CSV",
"filter": {
"createdAt": {
"startAt": "2019-07-02T00:00:00-00:00",
"endAt": "2019-07-04T23:59:59-00:00"
},
"activityTypeIds": [
6,
7,
9,
10,
11,
27,
39,
40,
41,
45
]
},
"fields": [
"activityDate",
"activityTypeId",
"primaryAttributeValueId"
]
}
The activity type ids are the ids of the email-related activities, such as open, click, delivered etc.
The issue is that this takes a long time to run, I have to go through the different timelines and filter through the activity data for the emails that I am not interested in.
I am looking for a way where I can pass the email id and get all the data associated with only the emails I specified.
Any help is appreciated.
Thanks.
... View more