You are here

function MCAPI::campaignEmailStatsAIM in Mailchimp 7

Same name and namespace in other branches
  1. 6.2 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:

Return value

array Array of structs containing the actions (opens and clicks) that the email took, with timestamps

File

./MCAPI.class.php, line 836

Class

MCAPI

Code

function campaignEmailStatsAIM($cid, $email_address) {
  $params = array();
  $params["cid"] = $cid;
  $params["email_address"] = $email_address;
  return $this
    ->callServer("campaignEmailStatsAIM", $params);
}