We’re building our own frontend for HubSpot blog which uses the API to pull in blog content. I’d like to get this working with the HubSpot blog analytics such that when a user visits our blog page, it tracks that visit towards the blog post and would show up in the analytics section of the blog post page within the HubSpot Marketing app.
Is there a way I can use HubSpot’s analytics javascript embed to track the appropriate events in order to support this? I see some relevant properties in the API response, such as analytics_page_type and analytics_page_id