Streaming live at 10am (PST)

Sort CMS by page views?


#1

I hope this is the right category.

Anyways I have a ‘satire news site’ that is gaining some momentum in views. So I figured this would be the best oppturinity to put the ‘most viewed articles this week’ on the side of the site , with the sites containing the most views with in the week. I’ve seen this done with other sites but no necessary web flow ones.

However I was still curious if there was chance of being possible?


#2

Hey @De_Aguiar,

Unfortunately it’s not a native feature of webflow to sort CMS items by ‘most viewed’.

However, my suggestion to best achieve this would be to just add a ‘rank field’ (Number Field)’ to your CMS collections, and you can sort that ‘most viewed’ section by applying a CMS filter to the collection that is based on that rank number. So based on your analytics / traction on articles you can adjust that number to change the popular articles

I wish I could suggest a custom code alternative but I am not aware of any solution.

Thanks,

Tom