The continuous date-range variant, which analyses traffic between startDate and endDate.
startDate
endDate
Optional
The end date of the analysis period (inclusive), as a Date object or an ISO 'YYYY-MM-DD' string. By default, it is three days ago.
Date
'YYYY-MM-DD'
It must be within 31 days from startDate, and no later than two days before today.
'2024-08-07' Copy
'2024-08-07'
new Date('2024-08-07') Copy
new Date('2024-08-07')
The start date of the analysis period, as a Date object or an ISO 'YYYY-MM-DD' string.
'2024-08-01' Copy
'2024-08-01'
new Date('2024-08-01') Copy
new Date('2024-08-01')
The continuous date-range variant, which analyses traffic between
startDateandendDate.endDateis optional. If omitted, it defaults to three days ago, the latest date the service always has data for.endDatefalls one to 31 UTC calendar days afterstartDate.