You are here

function MCAPI::campaignClickStats in Mailchimp 6

Same name and namespace in other branches
  1. 5.2 MCAPI.class.php \MCAPI::campaignClickStats()
  2. 5 MCAPI.class.php \MCAPI::campaignClickStats()
  3. 6.2 MCAPI.class.php \MCAPI::campaignClickStats()
  4. 7 MCAPI.class.php \MCAPI::campaignClickStats()

Get an array of the urls being tracked, and their click counts for a given campaign

Stats

@returnf integer clicks Number of times the specific link was clicked @returnf integer unique Number of unique people who clicked on the specific link

Parameters

string $cid the campaign id to pull stats for (can be gathered using campaigns()):

Return value

struct list of urls and their associated statistics

File

./MCAPI.class.php, line 382

Class

MCAPI

Code

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