• Resolved Anthony Thorne

    (@anthonythorne)


    Hi,

    I have specific client requirements where I need to gather popular posts however they need to be a post that was published within x timeframe. to promote newly published posts that are popular.

    I can do this with Google Analytics API, however, the site has Jetpack in use, so it would be nice if I could leverage that. If either I could be pointed at how to do this or there could be support added.

    For example, get the top 5 popular posts from posts that were published within the last 48hrs.

    Thanks

    Anthony

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hi Anthony,

    I don’t think something so bespoke is available among the Jetpack features.

    We do have the Stats feature which is not updated in real-time, so I don’t reckon that’s useful for you.

    You may also want to take a look at the Related Post feature, but again I don’t think it’s what you’re looking for.

    Thread Starter Anthony Thorne

    (@anthonythorne)

    Thanks for the reply,

    I am leveraging the related post feature for the custom related posts section, it works well.

    However this case is more specific, I’ve looked at the code here https://github.com/Automattic/jetpack/blob/819bcc51c4e6e3e82b43d526a95219eea1435757/projects/plugins/jetpack/modules/widgets/top-posts.php#L624

    My understanding is that it’s getting popular posts in the last 24hrs(published anytime), not the popular posts that were published in the last 24hrs (x hrs/days).

    Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hey @anthonythorne,

    My understanding is that it’s getting popular posts in the last 24hrs(published anytime), not the popular posts that were published in the last 24hrs (x hrs/days).

    That is correct. Here’s why I don’t think this is a feature that is going to be 100% fit with what you want to achieve.

    Thread Starter Anthony Thorne

    (@anthonythorne)

    Is there any way I or the client I work for can request a feature change?

    The logic would either need to be able to handle posts published between date ranges. Or we gather that info with a query and hand it to the function in the form of post IDs.

    Sounds simple enough, but I understand these things never are.

    Thanks

    Anthony

    Plugin Contributor Dan (a11n)

    (@drawmyface)

    Hey Anthony

    You’re welcome to submit a feature request here, but we can’t guarantee if/when it is likely to be implemented.

    Plugin Support lastsplash (a11n)

    (@lastsplash)

    Hi there,

    It has been more than one week since we have heard from you, so I’m marking this topic as resolved.

    But if you have any further questions or need some more help, you’re welcome to reply here or open another thread.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Jetpack Popular Posts’ is closed to new replies.