Website-Statistiken

GET https://simplifyanalytics.app/api/statistics/{website_id}
Parameter Details Beschreibung
start_date Erforderlich Zeichenkette Startdatum im Y-m-d-Format.
end_date Erforderlich Zeichenkette Enddatum im Y-m-d Format.
type Optional (Optional) Zeichenkette Art der zurückzugebenden Daten. Erlaubte Werte sind: overview, paths, referrers, referrer_paths, countries, cities, operating_systems, device_types, browser_names, utms_source, utms_medium_campaign, screen_resolutions, browser_languages, goals. Standardmäßig overview.
country_code Optional (Optional) Zeichenkette Parameter nur für den cities Typ verfügbar.
utm_source Optional (Optional) Zeichenkette Parameter nur für den utms_medium_campaign Typ verfügbar.
curl --request GET \
--url 'https://simplifyanalytics.app/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 }, ] }