Website statistics

GET https://track.shotcut.in/api/statistics/{website_id}
Parameters Details Description
start_date Required String Start date in Y-m-d format.
end_date Required String End date in Y-m-d format.
type Optional String Type of data to be returned. Allowed values are: overview, paths, referrers, referrer_paths, countries, cities, operating_systems, device_types, browser_names, utms_source, utms_medium_campaign, screen_resolutions, browser_languages, goals. Defaults to overview.
country_code Optional String Parameter only available for the cities type.
utm_source Optional String Parameter only available for the utms_medium_campaign type.
curl --request GET \
--url 'https://track.shotcut.in/api/statistics/{website_id}?start_date=2020-01-01&end_date=2021-01-01' \
--header 'Authorization: Bearer {api_key}' \
{ "data": [ { "path": "/dashboard", "pageviews": 500, "bounces": 10 }, { "path": "/websites", "pageviews": 250, "bounces": 0 }, { "path": "/", "pageviews": 200, "bounces": 36 }, { "path": "/register", "pageviews": 100, "bounces": 25 }, { "path": "login", "pageviews": 50, "bounces": 10 }, ] }