Recombee Docs
Visit recombee.comStart Free
User Documentation
Admin UI
ReQL
API Clients & Integrations
Scenario Recipes
Misc
News Recipes / Homepage / Personalized Sections With Reordering

Personalized Sections With Reordering

Introduction

Modern news homepages often display multiple topical sections (e.g., World, Politics, Technology, Sports). You can make these sections fully personalized by determining:

  1. The order of sections (so categories appear in the order each reader is most interested in), and
  2. The articles inside each section (so that within each category, the user sees the most relevant content).

With Composite Recommendations, both of these steps can be done in one setup — producing a homepage that’s unique for every reader.


Composite Recommendations Overview

Composite Recommendations return both a source entity (for example, a category Segment) and a list of results (articles from that Segment) in a single response.

They are requested via the Composite Recommendation API endpoint.

In our case:

  • Source: ID of the homepage section, e.g., the category (Item Segment)
  • Result: Articles from that category
Composite Recommendations - News Example

Because the source is personalized (which categories the reader cares about) and the results are personalized (which articles within those categories they like), you get dynamic section ordering and personalized content within each section — all in one request.

Segmentation Setup

Start by creating a Segmentation based on the item property that represents article categories (e.g., category or categories).

In the Recombee Admin UI, navigate to SegmentationsCreate.

  1. Choose Segmentation TypeProperty-based.
  2. Select the property that holds the article’s category information.
Admin UI - Segmentation Setup

After picking the property, a preview opens up and you can see what categories exist in your catalog and the number of items per category.

If your sections are defined more dynamically (for example, using multiple properties), you can use Advanced Segmentation options.

Scenario Setup

Go to ScenariosCreate Scenario.

  1. Choose a Scenario ID, e.g. homepage-sections-and-articles.

  2. Set the Recommendation Type to Composite (see Composite Recommendations).

  3. Then pick one of the Templates:

    depending on how your homepage sections are defined, and create the Scenario.

Admin UI - Scenario Setup

Filters

You may want to apply additional filters to ensure only relevant or recent content appears in each section.

Tip: Recent Articles Only

Requesting Recommendations

As you want to introduce multiple personalized sections, send multiple Composite Recommendation requests within a single Batch request with the distinctRecomms parameter set to true in order to deduplicate content across sections.

💡 Tip: Composite Recommendations automatically ensure distinct source entities (categories), while the distinctRecomms flag removes duplicate articles between sections.

See this example for guidance on how to implement this approach in your programming language.

Once you receive the response, render each source (category) as a section title and populate it with the corresponding results (articles) to create a fully personalized news homepage layout.

© Copyright 2025, Recombee s.r.o
docs.recombee.com