Show Media Embed Locations Timeseries
Retrieve timeseries analytics for a video broken down by embed location. Returns an array of timestamped buckets, each containing metrics for the top embed locations (ranked by the chosen metric) plus an "All other" entry aggregating the remaining locations.
The date range between start_date and end_date must not exceed 2 years.
Requires api token with one of the following permissions
Read detailed stats
Tokens with the "Act with a team member's permissions" permission (all:delegate_to_contact_permissions scope) can also be used. Requests made with such a token are authorized using the permissions of the contact assigned to the token.
An expiring access token created with the all:delegate_to_contact_permissions scope and an authorization granting the view-stats permission on this media can also be used.
Request
- Base URLhttps://api.wistia.com/modern
- URLhttps://api.wistia.com/modern/analytics/medias/{mediaId}/embed_locations_timeseries
- AuthHTTP bearer
Path parameters
The hashed ID of the media (e.g., "4d23503f70")
The hashed ID of the video.
Query parameters
Start date for the analytics period in ISO 8601 format (YYYY-MM-DD). Inclusive — the range starts at the beginning of this date.
End date for the analytics period in ISO 8601 format (YYYY-MM-DD). Exclusive — the range ends before the beginning of this date.
The time granularity for the timeseries data.
The metric used to rank and select the top embed locations.
Filter results to a single embed URL. When provided, only analytics for the page matching this URL are returned. The protocol is optional (https is assumed).
Number of top embed locations per time bucket (max 100). Remaining locations are aggregated into an "All other" entry.
Headers
Response
Success response with embed location timeseries data.
Changes
No recorded changes to this operation across all 1 revision of this API.