get_stats_by_country
Retrieve email performance statistics grouped by geographic location to analyze regional engagement patterns and optimize email marketing strategies.
Instructions
Retrieve email statistics grouped by geographic location
Input Schema
Name | Required | Description | Default |
---|---|---|---|
aggregated_by | No | How to group the statistics | day |
country | No | ISO 3166-1 alpha-2 country code to filter by | |
end_date | No | End date in YYYY-MM-DD format (defaults to today) | |
start_date | Yes | Start date in YYYY-MM-DD format | |
state | No | State or province to filter by |
Input Schema (JSON Schema)
{
"properties": {
"aggregated_by": {
"default": "day",
"description": "How to group the statistics",
"enum": [
"day",
"week",
"month"
],
"type": "string"
},
"country": {
"description": "ISO 3166-1 alpha-2 country code to filter by",
"type": "string"
},
"end_date": {
"description": "End date in YYYY-MM-DD format (defaults to today)",
"type": "string"
},
"start_date": {
"description": "Start date in YYYY-MM-DD format",
"type": "string"
},
"state": {
"description": "State or province to filter by",
"type": "string"
}
},
"required": [
"start_date"
],
"type": "object"
}