Web sitesi istatistikleri
GET https://dicianalytics.com/api/statistics/{website_id}
Parametreler | Detaylar | Açıklama |
---|---|---|
start_date | Gerekli Dize | Başlangıç tarihi Y-m-d formatında. |
end_date | Gerekli Dize | Bitiş tarihi Y-m-d formatında. |
type | İsteğe bağlı Dize | İzin verilen değerler: overview , realtime , paths , referrers , screen_resolutions , utms , operating_systems , device_types , continents , countries , cities , browser_names , browser_languages , browser_timezones , themes , goals |
country_code | İsteğe bağlı Dize | Mevcut olduğunda: type = cities |
utm_source | İsteğe bağlı Dize | Mevcut olduğunda: type = utms_medium_campaign |
curl --request GET \
--url 'https://dicianalytics.com/api/statistics/{website_id}?start_date=2020-01-01&end_date=2021-01-01' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://dicianalytics.com/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
},
]
}