function MCAPI::campaignGeoOpens in Mailchimp 6.2
Retrieve the countries and number of opens tracked for each. Email address are not returned.
Stats
@returnf string code The ISO3166 2 digit country code @returnf string name A version of the country name, if we have it @returnf int opens The total number of opens that occurred in the country @returnf bool region_detail Whether or not a subsequent call to campaignGeoOpensByCountry() will return anything
Parameters
string $cid the campaign id to pull bounces for (can be gathered using campaigns()):
Return value
array countries an array of countries where opens occurred
File
- ./
MCAPI.class.php, line 700
Class
Code
function campaignGeoOpens($cid) {
$params = array();
$params["cid"] = $cid;
return $this
->callServer("campaignGeoOpens", $params);
}