Returns a page of unique conversions, containing the contact ID, email, revenue and total count. Please note, that currently no external ID is returned, yet.
1 |
GET https://api.maileon.com/1.0/reports/analytics/conversions/unique |
1 |
GET https://api.maileon.com/1.0/reports/analytics/conversions/unique/count |
Attributes
Parameter | Default | Description |
from_date | If provided, only the conversions after or equal (including) the given date will be returned. The value of from_date must be a numeric value representing a point in time milliseconds after January 1, 1970 00:00:00 | |
to_date | If provided, only the conversions before (excluding) the given date will be returned. The value of to_date must be a numeric value representing a point in time milliseconds after January 1, 1970 00:00:00 | |
mailing_id | Multivalued parameter to filter the conversions by mailings. Each value must correspond to a mailing id. | |
ids | Multivalued parameter to filter the conversions by contacts. Each value must correspond to a contact id. | |
emails | Multivalued parameter to filter the conversions by email addresses. | |
eids | Multivalued parameter to filter the conversions by external ids. Each value must correspond to a contacts external id | |
site_ids | Multivalued parameter to filter the conversions by site ids. Each value must correspond to a valid site id. | |
goal_ids | Multivalued parameter to filter the conversions by goal ids. Each value must correspond to a valid goal id. | |
link_ids | Multivalued parameter to filter the conversions by link ids. Each value must correspond to a valid link id. | |
page_index | 1 | The index of the result page. The index must be greater or equal to 1. |
page_size | 100 | The maximum count of items in the result page. If provided, the value of page_size must be in the range 1 to 1000. |
Example
1 2 |
GET https://api.maileon.com/1.0/reports/analytics/conversions/unique?page_index=1&page_size=500 Authorization: Basic XXXXXXXXXXXXXXX |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
Status: 200 OK Content-Type: application/vnd.maileon.api+xml link: ... x-pages: ... x-items: ... <unique_conversions> <unique_conversion> <contact_id>7345890</contact_id> <contact_email>maxi.musterfrau@xqueue.com</contact_email> <contact_external_id nil="true"></contact_external_id> <count_total>4</count_total> <revenue>291.96</revenue> </unique_conversion> <unique_conversion> <contact_id>5434567</contact_id> <contact_email>max.mustermann@xqueue.com</contact_email> <contact_external_id nil="true"></contact_external_id> <count_total>40</count_total> <revenue>1577.82</revenue> </unique_conversion> </unique_conversions> |