Method Details
HTTP Methods:
GET
Response Format:
json
Requires Authentication?
Yes
Rate Limited?
Headers
Products:
Marketing
Required Scope:
Get analytics data for your HubSpot hosted content. This would include your website and landing pages, as well as any blog pages hosted on HubSpot.
This endpoint is designed around how report data would be shown in the sources and page performance reports. For more details about how the sources report works, please see the article linked here. For more details about the page performance report, please see the article linked here.
For more details about how sessions are categorized, please see the article linked here.
In addition to getting analytics details for pages, sources data can also be pulled for pages or for blogs:
For pages:GET analytics/v2/reports/:content_type/:page_id/sources/:time_period
For blogs:GET analytics/v2/reports/:content_type/content-group/:blog_id/sources/:time_period
Note: Access to the data from this endpoint will depend on the subscription of the HubSpot account. Please see the overview page for more details.