CMS Development

celenajasmin
Participant

List popular posts from multiple blogs

SOLVE

Hi! I'm looking for a solution for the same problem in this post from 2018. Basically we have different blogs, identical to Hubspot's blog's setup (https://blog.hubspot.com/marketing, https://blog.hubspot.com/sales and so on), but under the main blog listing I want to:

1. pull the popular posts from our different blogs

2. sort it by popularity, and

3. show the top 5 most popular posts

 

I have an idea on how to do #1 and #3 but not #2 (sorting it by popularity). Is there a way to do this?

0 Upvotes
1 Accepted solution
alyssamwilie
Solution
Recognized Expert | Elite Partner
Recognized Expert | Elite Partner

List popular posts from multiple blogs

SOLVE

Unfortanetly Hubspot has yet to make any data available to developers for determing the popularity of a post for ourselves using HubL. You would need to utilize the API to acquire the view data.

https://legacydocs.hubspot.com/docs/methods/analytics/get-analytics-data-by-object

 

The how-to of using this is talked about briefly here :
https://community.hubspot.com/t5/APIs-Integrations/Retrieving-mots-popular-posts-via-API/m-p/270100

If this answer solved your question, please mark it as the solution.

Alyssa Wilie Profile Image

Alyssa Wilie

Web Developerat Lynton

Learn HubL | Get Marketing Insights

HubSpot Elite Solutions Partner
Lynton's HubSpot theme Rubric now available. Click to download.

View solution in original post

1 Reply 1
alyssamwilie
Solution
Recognized Expert | Elite Partner
Recognized Expert | Elite Partner

List popular posts from multiple blogs

SOLVE

Unfortanetly Hubspot has yet to make any data available to developers for determing the popularity of a post for ourselves using HubL. You would need to utilize the API to acquire the view data.

https://legacydocs.hubspot.com/docs/methods/analytics/get-analytics-data-by-object

 

The how-to of using this is talked about briefly here :
https://community.hubspot.com/t5/APIs-Integrations/Retrieving-mots-popular-posts-via-API/m-p/270100

If this answer solved your question, please mark it as the solution.

Alyssa Wilie Profile Image

Alyssa Wilie

Web Developerat Lynton

Learn HubL | Get Marketing Insights

HubSpot Elite Solutions Partner
Lynton's HubSpot theme Rubric now available. Click to download.