New functionality: Analytics API now supports pulling data for custom events & using analytics views.
Today, we're launching two new features for the Analytics API: Event analytics and support for analytics views.
The Analytics API now also supports filtering by your analytics views. Any views you've created in HubSpot can be used as a filter when pulling analytics data.
The existing endpoints also now support an additional query parameter:
&filterId=. Include this parameter with the ID of an analytics view to filter the returned data for that view. There is also a new endpoint that lets you get the metadata for views.
These features are currently live and can be utilized immediately.