Rankings and recommendations
Everything in this section ranks content across the application: what is viewed most, what is trending, what
goes with what, and who is looking right now. Each one reads the views table as it is, so start with the one you
need and move to its “On large tables” notes when the table grows.
Most viewedViews::top() ranks the most viewed content across every model type.
TrendingRank what is getting views now, with older views counting less the older they get.
Rising, spiking and droppingFind what is growing, spiking or dropping against its own usual traffic, and get alerted when it happens.
HotGive new content a head start with a hot ranking, the kind Hacker News and Reddit show.
Also viewedShow related content based on what your visitors actually do, such as a "Readers also read" box under an article or "Customers also viewed" on a product page.
Recommended for youA "Recommended for you" row on a home page or below an article.
Who is looking right nowShow how many people are looking at a model right now, with a live counter on cached pages.