Affiliations
Get affiliate link visits distribution by country
Returns the geographic distribution of affiliate link visitors grouped by country within a date range.
get/v2/affiliation/{userId}/distributions/countries
Request
- Base URL: https://app.metricool.com/api
- URL: https://app.metricool.com/api/v2/affiliation/{userId}/distributions/countries
- Auth: none declared
Path parameters
userIdinteger required
ID of the affiliate user
Query parameters
fromstring required
Start date and time in ISO 8601 format, e.g. 2021-01-01T00:00:00+01:00
tostring required
End date and time in ISO 8601 format, e.g. 2021-12-31T23:59:59+01:00
timezonestring
IANA timezone identifier, e.g. Europe/Madrid
Response
Country distribution retrieved successfully
Changes
No recorded changes to this operation across all 5 revisions of this API.