<?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: Analytics API - Landing Page Names and Missing Data in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Analytics-API-Landing-Page-Names-and-Missing-Data/m-p/278266#M25447</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;Let's run through the queries one by one here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. I understand that you're looking to fech landing pages data via this endpoint:&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/methods/analytics/get-data-for-hubspot-content" target="_self"&gt;Get data for HubSpot hosted content&lt;/A&gt;&amp;nbsp;and it is only returning page(s) with at least 1 view. Based on my knowledge, the endpoint will only return page with data. That said, if you'd like to get all landing pages together with the view, you can use this endpoint here:&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/methods/pages/get_pages" target="_blank"&gt;List pages | CMS Page Publishing API.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically, this endpoint will return all the landing pages details that are hosted in your HubSpot portal, the landing page's view is one of the response field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. For now, the endpoint:&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/methods/analytics/get-data-for-hubspot-content" target="_self"&gt;Get data for HubSpot hosted content&lt;/A&gt;&amp;nbsp;can only return the ID number.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To get the page name, you can grab the page ID and use it in this endpoint here:&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/methods/pages/get_pages_page_id" target="_blank"&gt;Get a Page by ID | COS Page Publishing API&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While this require one more step, it is an alternative that your team can explore into.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps to clarify! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jul 2019 04:18:24 GMT</pubDate>
    <dc:creator>WendyGoh</dc:creator>
    <dc:date>2019-07-02T04:18:24Z</dc:date>
  </channel>
</rss>

