Description
Platform, browsers and versions used by your recipients.
Request URL
api.mailjet.com/0.1/reportUseragents
Code Sample
<?php
# Call
$response = $mj->reportUserAgents();
# Result
$user_agents = $response->user_agents;
$count = $reponse->cnt;
?>
Parameters
campaign_id (Integer, optional)› Description: Mailjet's campaign IDfrom (String, optional)› Description: Filter on Sender emailfrom_domain (String, optional)› Description: Filter on Domainfrom_id (String, optional)› Description: Mailjet's Sender IDfrom_type (Integer, optional)› Description: Filter on email type. [0]: all; [1]: transactional only; [2]: campaigns onlylimit (Integer, optional)› Description: Limit amount of results your wantstart (Integer, optional)› Description: Start offsetstatus (String, optional)› Description: queued, sent, opened, clicked, bounce, blocked, spam or unsub.ts_from (Timestamp, optional)› Description: Beginning of the periodts_to (Timestamp, optional)› Description: End of the period
Return
status (String)
› Description: Status of the response
cnt (Integer)› Description: Amount of distinct user agents trackeduser_agents (Array)› Description: List of user agents tracked| Label | Type | Description |
| cnt_clicked | Integer | Total of emails clicked |
|---|
| part | Integer | % of total emails clicked |
|---|
| platform | String | platform (Mac OS, Windows, Linux, ...) |
|---|
| user_agent | String | user agent (browser and version) |
|---|