Return the recent history (hourly stats for the last 30 days) for a template
Signature
public function timeSeries(string
$name )
Parameters
$name
—
string
the name of an existing template
Returns
array
the array of history information - return[] struct the stats for a single hour
- time string the hour as a UTC date string in YYYY-MM-DD HH:MM:SS format
- sent integer the number of emails that were sent during the hour
- hard_bounces integer the number of emails that hard bounced during the hour
- soft_bounces integer the number of emails that soft bounced during the hour
- rejects integer the number of emails that were rejected during the hour
- complaints integer the number of spam complaints received during the hour
- opens integer the number of emails opened during the hour
- unique_opens integer the number of unique opens generated by messages sent during the hour
- clicks integer the number of tracked URLs clicked during the hour
- unique_clicks integer the number of unique clicks generated by messages sent during the hour