curl --request GET \
--url https://api.tagdeliver.com/v1/report/insight/diagnostics/traffic/{uid} \
--header 'Authorization: Bearer <token>'{
"results": {
"dates": [
"2025-11-17",
"2025-11-18",
"2025-11-19",
"2025-11-20",
"2025-11-21",
"2025-11-22",
"2025-11-23"
],
"page_impression": [
274979,
240515,
215180,
213560,
232564,
206028,
172336
],
"page_views": [
205013,
184535,
164184,
161322,
179642,
149858,
120586
],
"revenue": [
6327.34,
6398.41,
6120.5,
5548.25,
5285.43,
4586.71,
3946.68
],
"analytics_connected": true,
"currency": "GBP"
},
"success": true
}Returns traffic data, including analytics metrics if an analytics integration has been connected
curl --request GET \
--url https://api.tagdeliver.com/v1/report/insight/diagnostics/traffic/{uid} \
--header 'Authorization: Bearer <token>'{
"results": {
"dates": [
"2025-11-17",
"2025-11-18",
"2025-11-19",
"2025-11-20",
"2025-11-21",
"2025-11-22",
"2025-11-23"
],
"page_impression": [
274979,
240515,
215180,
213560,
232564,
206028,
172336
],
"page_views": [
205013,
184535,
164184,
161322,
179642,
149858,
120586
],
"revenue": [
6327.34,
6398.41,
6120.5,
5548.25,
5285.43,
4586.71,
3946.68
],
"analytics_connected": true,
"currency": "GBP"
},
"success": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Date range. All ranges exclude today and run up to yesterday
custom, all_time, seven_days, fourteen_days, thirty_days, three_months, six_months, week_to_date, month_to_date, quarter_to_date, year_to_date, last_week, last_month, last_quarter, last_year, month_on_month, quarter_on_quarter, yesterday Start date when range=custom
End date when range=custom
Date grouping when range=custom
day, month, year Was this page helpful?