웹사이트 통계
GET https://makeron.today/api/statistics/{website_id}
매개변수 | 세부사항 | 설명 |
---|---|---|
start_date | 필수 문자열 | Y-m-d 형식의 시작 날짜입니다. |
end_date | 필수 문자열 | Y-m-d 형식의 종료 날짜입니다. |
type | 선택 사항 문자열 | 반환될 데이터 유형입니다. 허용되는 값은: overview , paths , referrers , referrer_paths , countries , cities , operating_systems , device_types , browser_names , utms_source , utms_medium_campaign , screen_resolutions , browser_languages , goals . 기본값은 overview 입니다. |
country_code | 선택 사항 문자열 | cities 유형에만 사용할 수 있는 매개변수입니다. |
utm_source | 선택 사항 문자열 | utms_medium_campaign 유형에만 사용할 수 있는 매개변수입니다. |
curl --request GET \
--url 'https://makeron.today/api/statistics/{website_id}?start_date=2020-01-01&end_date=2021-01-01' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://makeron.today/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
},
]
}