Search code examples
analyticssendgridmass-emails

Accesing statistics of a single Marketing Email with Sendgrid API


I have been looking through the documentation for both the General Statistics and Advanced Statistics - but it seems only aggregated statistics are available. From what I am able to find, the most detailed information is available for a single day within a single category. But is it possible to retrieve statistics for a single marketing email, using e.g. it's name as parameter? Or is it necessary to use the Event Webhook, to store all events (opens, clicks, etc.) in my end, and do all the calculations myself?

Thank you

brgds Lukas


Solution

  • At this time, it's necessary to use the Event Webhook. Using Event Webhook also allows you to implement unique_args, for more detailed & granular stats. You can use as many args per message as you'd like, naming the keys and values to whatever makes sense for you.