Re: How to fetch Email Insights using API

Anonymous
Not applicable

How to fetch Email Insights using API

I am trying to fetch "Email Insights" from the platform using API to analyze the KPI's like Click to Open Rate, Unsubscribe Rate, by type of the email (newsletter,email marketing etc).

I went through the documentation, however I didn't find any endpoint from which I can fetch the same.

7 REPLIES 7
SanfordWhiteman
Level 10 - Community Moderator

Re: How to fetch Email Insights using API

You should move the thread to Products to continue (that's the space for Marketo product support -- this is for non-product-specific discush).

At any rate, there's no endpoint for canned reports. When using the API the idea is you'll get the raw data and use/write your own reporting tools.

Anonymous
Not applicable

Re: How to fetch Email Insights using API

Can you please tell me from which endpoint I can get this raw data, I was searching for Click to Open Rate, Unsubscribe Rate for Email's in Assets but didn't found any.

SanfordWhiteman
Level 10 - Community Moderator

Re: How to fetch Email Insights using API

You can't get the rates, that's my point. The Activity API exposes the timeseries data. You compute the statistics.

Anonymous
Not applicable

Re: How to fetch Email Insights using API

Can you please share the link where I can see the email statistics like email sent, delivered, opened, click etc.

Luis_Esquivel1
Level 2

Re: How to fetch Email Insights using API

What is your preferred method/language to pull this kind of data?

SanfordWhiteman
Level 10 - Community Moderator

Re: How to fetch Email Insights using API

I tend to use NodeJS or Java (the latter if I'm in an integration platform like Camel) but you can use anything you're comfy with.

You could even use a batch/shell script and the cURL.exe command line app.

The new Bulk Extract API is very easy to use. The annoyance is you need to use a poll-and-retry approach. Because it's a 4-part process (define - run - poll (and poll and poll) - download) with no notification when the download is ready, it's the waiting that's the hardest part.

Dan_Stevens_
Level 10 - Champion Alumni

Re: How to fetch Email Insights using API

...it's the waiting that's the hardest part.

R.I.P. TP!