API endpoint:
https://www.chouffai.net/api/v1/stats/{website_id}
Request example:
curl --location --request GET 'https://www.chouffai.net/api/v1/stats/{website_id}?name={name}&from={from}&to={to}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
namebrowser, campaign, city, continent, country, device, event, language, operating_system, page, pageview, referrer, screen_resolution, visitor.fromY-m-d format.toY-m-d format.searchsearch_byvalue for Value.sort_bycount for Count, value for Value. Defaults to: count.sortdesc for Descending, asc for Ascending. Defaults to: desc.per_page10, 25, 50, 100. Defaults to: 50.