<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: List Blog Post analytics by Blog in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/List-Blog-Post-analytics-by-Blog/m-p/284519#M26280</link>
    <description>&lt;P&gt;Thanks Isaac,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Here's the idea on the Ideas Forum:&amp;nbsp;&lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/Analytics-API-Get-Blog-Post-Data-by-Blog/idi-p/284517#M39056" target="_blank"&gt;https://community.hubspot.com/t5/HubSpot-Ideas/Analytics-API-Get-Blog-Post-Data-by-Blog/idi-p/284517#M39056&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I think periodically updating a table with the newest blog ids is a great idea. If I store the latest visit data, CTA CTR data and sources data for each blog post, I will be able to use fewer operations when creating further automations regarding the Inbound blog in the future.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm fairly new to all of this so do I really appreciate the help&lt;BR /&gt;&lt;BR /&gt;Thanks again&lt;/P&gt;</description>
    <pubDate>Tue, 06 Aug 2019 14:10:50 GMT</pubDate>
    <dc:creator>LollipopRob</dc:creator>
    <dc:date>2019-08-06T14:10:50Z</dc:date>
    <item>
      <title>List Blog Post analytics by Blog</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/List-Blog-Post-analytics-by-Blog/m-p/283417#M26172</link>
      <description>&lt;P&gt;Hi all&lt;BR /&gt;&lt;BR /&gt;I'm trying to use the API to get the CTA click rate data for all blog posts in a particular blog of ours.&lt;BR /&gt;&lt;BR /&gt;Using the analytics API documentation I've managed to get a list of ALL blog posts sorted by entrances and limited to 100 results.&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;&lt;A href="https://api.hubapi.com/analytics/v2/reports/blog-posts/total?&amp;amp;start=20190101&amp;amp;end=20190228&amp;amp;sort=entrances&amp;amp;limit=100" target="_blank" rel="noopener"&gt;https://api.hubapi.com/analytics/v2/reports/blog-posts/total?&amp;amp;start=20190101&amp;amp;end=20190228&amp;amp;sort=entrances&amp;amp;limit=100&lt;/A&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;The API documentation says:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"A&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.hubspot.com/docs/methods/blogv2/get_blogs" target="_blank" rel="noopener"&gt;blog ID&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;can be specified to get data for all content related to a specific blog. The&amp;nbsp;&lt;/SPAN&gt;content_type&lt;SPAN&gt;&amp;nbsp;must be blog-posts or&amp;nbsp;&lt;/SPAN&gt;listing-pages&lt;SPAN&gt;, see the examples for details."&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;However, in each of the examples they give, the blog ID option is always part of a sources report:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;EM&gt;analytics/v2/reports/:content_type&lt;STRONG&gt;/content-group/:blog_id/sources/&lt;/STRONG&gt;:time_period&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;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.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;I tried putting the blog ID into my URL:&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;&lt;A href="https://api.hubapi.com/analytics/v2/reports/blog-posts" target="_blank" rel="noopener"&gt;https://api.hubapi.com/analytics/v2/reports/blog-posts&lt;/A&gt;&lt;STRONG&gt;/content-group/1323969639/&lt;/STRONG&gt;total?&amp;amp;start=20190101&amp;amp;end=20190228&amp;amp;sort=entrances&amp;amp;limit=100&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;But this just returns a 404.&lt;BR /&gt;&lt;BR /&gt;Does anybody know how to add a filter so that I only get data for the blog I need?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2019 14:11:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/List-Blog-Post-analytics-by-Blog/m-p/283417#M26172</guid>
      <dc:creator>LollipopRob</dc:creator>
      <dc:date>2019-07-30T14:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: List Blog Post analytics by Blog</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/List-Blog-Post-analytics-by-Blog/m-p/283565#M26183</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/14731"&gt;@LollipopRob&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It sounds like you're trying to pull the&amp;nbsp;&lt;EM&gt;Views&lt;/EM&gt;,&amp;nbsp;&lt;EM&gt;CTA Views&lt;/EM&gt;, and&amp;nbsp;&lt;EM&gt;CTA clicks &lt;/EM&gt;metrics&amp;nbsp;visible in the &lt;A href="https://app.hubspot.com/analytics/424675/content?blog=1323969639&amp;amp;chartType=AREA&amp;amp;frequency=MONTH&amp;amp;metric=ctaClicks&amp;amp;pageType=blog-posts&amp;amp;rangeType=ALL&amp;amp;stacked=true" target="_self"&gt;Website Analytics&lt;/A&gt; tool from &lt;A href="https://developers.hubspot.com/docs/methods/analytics/get-data-for-hubspot-content" target="_self"&gt;this Analytics API endpoint&lt;/A&gt;. Is that correct?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At this time, the public Analytics API endpoints are limited to reflecting the &lt;A href="https://knowledge.hubspot.com/articles/kcs_article/reports/use-the-sources-report" target="_self"&gt;sources report&lt;/A&gt;, so they do not return CTA clicks like the report above. (Though I am seeing&amp;nbsp;&lt;CODE&gt;rawViews&lt;/CODE&gt; and &lt;CODE&gt;ctaViews&lt;/CODE&gt; in our example JSON.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That said, I was able to retrieve the analytics data for blog post &lt;CODE&gt;4011974019&lt;/CODE&gt; by using the following request URL (using the blog post ID as as a page ID):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;https://api.hubspot.com/analytics/v2/reports/blog-posts/4011974019/sources/total?start=20190101&amp;amp;end=20190228&lt;/PRE&gt;
&lt;P&gt;Are you able to get results using that convention?&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 00:55:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/List-Blog-Post-analytics-by-Blog/m-p/283565#M26183</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2019-07-31T00:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: List Blog Post analytics by Blog</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/List-Blog-Post-analytics-by-Blog/m-p/283614#M26191</link>
      <description>&lt;P&gt;Thanks for the reply Isaac&lt;BR /&gt;&lt;BR /&gt;That URL does give some good data, I'm definitely going to use that.&lt;BR /&gt;&lt;BR /&gt;However what I'm trying to achieve is getting the Blog Post analytics data from this URL:&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;&lt;A href="https://api.hubapi.com/analytics/v2/reports/blog-posts/total?&amp;amp;start=20190101&amp;amp;end=20190228&amp;amp;sort=entrances&amp;amp;limit=100" target="_blank"&gt;https://api.hubapi.com/analytics/v2/reports/blog-posts/total?&amp;amp;start=20190101&amp;amp;end=20190228&amp;amp;sort=entrances&amp;amp;limit=100&lt;/A&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;but just for blog posts in our Fire &amp;amp; Security Blog.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Currently that URL returns the analytics data for each individual blogs post in our Social Media Blog &lt;STRONG&gt;and&lt;/STRONG&gt; our Fire &amp;amp; Security Blog - but the data doesn't tell me which Blog the blog post is part of.&lt;BR /&gt;&lt;BR /&gt;This means I then have to do another check using the blog post IDs (&lt;SPAN&gt;&lt;EM&gt;&lt;A href="https://api.hubapi.com/content/api/v2/blog-posts/" target="_blank"&gt;https://api.hubapi.com/content/api/v2/blog-posts/&lt;/A&gt;&lt;STRONG&gt;BLOGPOSTID&lt;/STRONG&gt;)&lt;/EM&gt;&amp;nbsp;to see whether each individual blog post is in the Social Media Blog or the Fire &amp;amp; Security Blog&lt;BR /&gt;&lt;BR /&gt;As there are hundreds of blog posts in our Social Media Blog, it's using up too many of our operations in Integromat to do this, so I wanted to cut out the Social Media Blog from the initial request.&lt;BR /&gt;&lt;BR /&gt;Do you know if that's possible?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 10:35:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/List-Blog-Post-analytics-by-Blog/m-p/283614#M26191</guid>
      <dc:creator>LollipopRob</dc:creator>
      <dc:date>2019-07-31T10:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: List Blog Post analytics by Blog</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/List-Blog-Post-analytics-by-Blog/m-p/284347#M26257</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/14731"&gt;@LollipopRob&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your patience. I appreciate the added clarification.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, the Analytics API does not allow for such filtering at this time.&amp;nbsp; I referenced our internal API catalog and confirmed that if you pass a blog's &lt;CODE&gt;content-group&lt;/CODE&gt;&amp;nbsp;ID in a request, it must be followed by&amp;nbsp;&lt;CODE&gt;/sources/&lt;/CODE&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While you currently can't exclude Social Media Blog posts from the request, there may be other ways to conserve operations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you referencing &lt;A href="https://developers.hubspot.com/docs/methods/blogv2/get_blog_posts_blog_post_id" target="_self"&gt;this endoint&lt;/A&gt;&amp;nbsp;for every blog post returned from&amp;nbsp;&lt;CODE&gt;/analytics/v2/reports/blog-posts/total&lt;/CODE&gt;?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, could you periodically update a table with all Fire &amp;amp; Security blog post IDs from &lt;A href="https://developers.hubspot.com/docs/methods/blogv2/get_blog_posts" target="_self"&gt;this endpoint&lt;/A&gt; (using the &lt;CODE&gt;content_group_id=1323969639&lt;/CODE&gt; parameter) and use that to filter your results?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All this said, I definitely see the value in filtering &lt;A href="https://developers.hubspot.com/docs/methods/analytics/get-data-for-hubspot-content" target="_self"&gt;this endpoint's&lt;/A&gt;&amp;nbsp;non-sources results by blog, however. The team plans to release more flexible analytics endpoints in the future, but would you also mind posting a feature request describing your use case and pain&amp;nbsp;&lt;A href="https://community.hubspot.com/t5/custom/page/page-id/ideaslandingpage" target="_self"&gt;here&lt;/A&gt; on the Ideas Forum? (I looked for similar existing ideas but found none.)&amp;nbsp;&lt;SPAN&gt;Upvotes and comments help the product teams prioritize ideas which have the greatest potential impact on users, so I'll be happy to upvote if you share a link below.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2019 18:49:26 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/List-Blog-Post-analytics-by-Blog/m-p/284347#M26257</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2019-08-05T18:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: List Blog Post analytics by Blog</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/List-Blog-Post-analytics-by-Blog/m-p/284519#M26280</link>
      <description>&lt;P&gt;Thanks Isaac,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Here's the idea on the Ideas Forum:&amp;nbsp;&lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/Analytics-API-Get-Blog-Post-Data-by-Blog/idi-p/284517#M39056" target="_blank"&gt;https://community.hubspot.com/t5/HubSpot-Ideas/Analytics-API-Get-Blog-Post-Data-by-Blog/idi-p/284517#M39056&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I think periodically updating a table with the newest blog ids is a great idea. If I store the latest visit data, CTA CTR data and sources data for each blog post, I will be able to use fewer operations when creating further automations regarding the Inbound blog in the future.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm fairly new to all of this so do I really appreciate the help&lt;BR /&gt;&lt;BR /&gt;Thanks again&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 14:10:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/List-Blog-Post-analytics-by-Blog/m-p/284519#M26280</guid>
      <dc:creator>LollipopRob</dc:creator>
      <dc:date>2019-08-06T14:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: List Blog Post analytics by Blog</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/List-Blog-Post-analytics-by-Blog/m-p/284549#M26285</link>
      <description>&lt;P&gt;Upvoted! Thanks for sharing,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/14731"&gt;@LollipopRob&lt;/a&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm glad I could help.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 15:25:54 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/List-Blog-Post-analytics-by-Blog/m-p/284549#M26285</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2019-08-06T15:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: List Blog Post analytics by Blog</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/List-Blog-Post-analytics-by-Blog/m-p/875394#M68839</link>
      <description>&lt;P data-unlink="true"&gt;If you facing some issues regarding MP3 Converter&amp;nbsp;, then you can check from here.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 21:09:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/List-Blog-Post-analytics-by-Blog/m-p/875394#M68839</guid>
      <dc:creator>hkyousufzai</dc:creator>
      <dc:date>2025-01-15T21:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: List Blog Post analytics by Blog</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/List-Blog-Post-analytics-by-Blog/m-p/1093891#M79466</link>
      <description>&lt;P data-unlink="true"&gt;Rope Hero Mod APK&amp;nbsp; is a popular 3D open-world action game where players control a superhero with extraordinary rope-swinging abilities, like a cross between Spider-Man and a vigilante.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 21:09:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/List-Blog-Post-analytics-by-Blog/m-p/1093891#M79466</guid>
      <dc:creator>MNet</dc:creator>
      <dc:date>2025-01-15T21:09:16Z</dc:date>
    </item>
  </channel>
</rss>

