This report will provide gross and net counts of link clicks. It will return the fields:
- Recipient ID
- Email Address
- Custom ID
- URL
- Gross Clicks
- Net Clicks
- Browser
It can be used in lieu of GetMessageLinkTracking; however, it will not provide additional recipient details.
Example
Collect recipient clicks:
EXAMPLE:
{
"SessionID":"00000000-00000-0000-0000000000000",
"UserID":"SAMPLE",
"Parameters":[{ "Parameters":[{
"Key":"@MessageId",
"Value":"12345678"
}],
"ReportId":2
}
HTTP POST
https://dna.magnetmail.net/ApiAdapter/Rest/ExecuteReport/
POST Parameters
NOTE: This call does not have conditional or optional parameters.
Required Parameters
Parameter | Value | Description |
---|---|---|
SessionID | String | This is an authentication token which can be obtained by making the authenticate call. |
UserID | String | The UserID returned in the authenticate call. |
MessageID | Int | This is the ID of the message. Use the GetMessageList/ method to find the message by name and capture the message ID. Pass only a single value in this attribute. |
Response
{ "SessionID":"86753099999999999", "UserID":"MAILUSERID", "Parameters":[{ "Key":"RecipientId", "Value":"8675309" }], "ReportId":11 }
[ { "ID": 1, "Group": "Test Unsubs", "MessageCategory": "", "ActionDate": "2016-06-02T14:41:48.353", "Action": "Unsubscribed" }, { "ID": 2, "Group": "", "MessageCategory": "Category 2", "ActionDate": "2016-06-16T09:48:00", "Action": "Subscribed" }, { "ID": 3, "Group": "", "MessageCategory": "Category 4", "ActionDate": "2016-06-16T09:48:00", "Action": "Subscribed" }, { "ID": 4, "Group": "", "MessageCategory": "Pizza", "ActionDate": "2016-06-16T09:48:00", "Action": "Subscribed" }, { "ID": 5, "Group": "", "MessageCategory": "Category 2", "ActionDate": "2016-11-09T11:38:45.473", "Action": "Unsubscribed" }, { "ID": 6, "Group": "", "MessageCategory": "Send to Subscribe Test Category", "ActionDate": "2017-09-20T12:54:00", "Action": "Subscribed" }