How to get statistics via API via email sent with Mandrill?

Can't I find a way to get all the statistics associated with one email sent through the Mandrill app? Are you using Mandrill api to get statistics?

+6
source share
1 answer

I think that at this time another 1 year later it is now possible to request based on individual messages through Mandrill "Message Calls", for example. at https://mandrillapp.com/api/docs/messages.JSON.html#method-info

JSON request

{ "key": "example key", "id": "abc123abc123abc123abc123" } 

JSON response

 { "ts": 1365190000, "_id": "abc123abc123abc123abc123", "sender": " sender@example.com ", "template": "example-template", "subject": "example subject", "email": " recipient.email@example.com ", "tags": [ "password-reset" ], "opens": 42, "opens_detail": [ { "ts": 1365190001, "ip": "55.55.55.55", "location": "Georgia, US", "ua": "Linux/Ubuntu/Chrome/Chrome 28.0.1500.53" } ], "clicks": 42, "clicks_detail": [ { "ts": 1365190001, "url": "http://www.example.com", "ip": "55.55.55.55", "location": "Georgia, US", "ua": "Linux/Ubuntu/Chrome/Chrome 28.0.1500.53" } ], "state": "sent", "metadata": { "user_id": "123", "website": "www.example.com" }, "smtp_events": [ { "ts": 1365190001, "type": "sent", "diag": "250 OK" } ] } 

hth somebody :)

+6
source

All Articles