function MCAPI::campaignEmailStatsAIM in Mailchimp 6.2
Same name and namespace in other branches
- 7 MCAPI.class.php \MCAPI::campaignEmailStatsAIM()
Given a campaign and email address, return the entire click and open history with timestamps, ordered by time
AIM
@returnf string action The action taken (open or click) @returnf date timestamp Time the action occurred @returnf string url For clicks, the URL that was clicked
Parameters
string $cid the campaign id to get stats for (can be gathered using campaigns()):
string $email_address the email address to check OR the email "id" returned from listMemberInfo, Webhooks, and Campaigns:
Return value
array Array of structs containing the actions (opens and clicks) that the email took, with timestamps
File
- ./
MCAPI.class.php, line 923
Class
Code
function campaignEmailStatsAIM($cid, $email_address) {
$params = array();
$params["cid"] = $cid;
$params["email_address"] = $email_address;
return $this
->callServer("campaignEmailStatsAIM", $params);
}