List Blog Post analytics by BlogSOLVE
I'm trying to use the API to get the CTA click rate data for all blog posts in a particular blog of ours.
Using the analytics API documentation I've managed to get a list of ALL blog posts sorted by entrances and limited to 100 results.
The issue is, one of our HubSpot Hosted blogs is really old and it fills my results with blog posts that I don't want data for - using up way too many operations in Integromat.
The API documentation says:
"A blog ID can be specified to get data for all content related to a specific blog. The content_type must be blog-posts or listing-pages, see the examples for details."
However, in each of the examples they give, the blog ID option is always part of a sources report:
I've managed to get the sources report, but that's not much help. I need the visit and CTA clicks for each blog post.
I tried putting the blog ID into my URL:
But this just returns a 404.
Does anybody know how to add a filter so that I only get data for the blog I need?
Solved! Go to Solution.