« Back to Documentation OverviewcampaignGeoOpens – v1.3
campaignGeoOpens(string apikey, string cid)
Retrieve the countries and number of opens tracked for each. Email address are not returned.
| Parameters | | apikey | a valid API Key for your user account. Get by visiting your API dashboard |
| cid | the campaign id to pull bounces for (can be gathered using campaigns()) |
| Returns | | array |
countries an array of countries where opens occurred
| string | code | The ISO3166 2 digit country code
| | string | name | A version of the country name, if we have it
| | int | opens | The total number of opens that occurred in the country
| | boolean | region_detail | Whether or not a subsequent call to campaignGeoOpensByCountry() will return anything
| |