Creating Segments

Private Beta Feature Liferay Data Platform 2026.Q2+

Segments are dynamic audience definitions built from criteria that filter individuals based on their attributes, behavior, and the content they have interacted with. LDP evaluates segments continuously and keeps their member lists current as new data arrives.

Important

Segments created in LDP sync with Liferay DXP. Segments created in Liferay DXP do not sync with LDP.

Note

Asset Categorization criteria require Liferay DXP 2026.Q2 or later. Earlier DXP versions do not send vocabulary and category data to LDP, so those criteria return no results even when content is correctly tagged or categorized.

Creating a Dynamic Segment

  1. Click Segments under the People section in the left navigation panel. The Segments dashboard displays all existing segments, their type (Real-Time or Batch), membership counts, and modification details.

    The Segments dashboard lists all segments in the workspace.

  2. Click New Segment in the upper-right corner. The Create Individuals Segment screen opens.

    Note

    New segments are created as Batch type by default.

  3. Click Edit (Pencil icon) next to Unnamed Segment and enter a name.

  4. (Optional) Edit the Segment ERC. LDP generates a unique external reference code (ERC) automatically. Modify it if you need a custom identifier for integrations or API usage.

  5. Drag criteria from the Segment Criteria panel to the builder canvas.

    Drag criteria from the Segment Criteria panel to the builder canvas.

    The picker groups available criteria into four categories:

    CategoryDescription
    BehavioralFilters individuals based on actions they have performed, such as submitting a form or viewing a blog article. You can use Liferay’s built-in events or your own custom events.

    Configure behavioral criteria by choosing whether an individual has or has not performed an action, specifying a frequency (at least, at most, or exactly a certain number of times), and defining a timeframe (since a date, within a period, or during the last 90 days).
    AttributesFilters individuals based on properties that describe them or their context.

    Available attribute types include Individual (age, country, industry, and DXP custom fields), Account, Organization (name, hierarchy, and type), and Session (browser and geo-location).
    Asset CategorizationFilters individuals based on DXP tags and vocabulary categories assigned to content they have interacted with.

    Use Vocabularies and Categories to target interactions with specific categories, or Tags to target interactions with tagged content. Both criteria support the has and has not operators.
    Page TopicsFilters individuals based on tracked interests and content preferences. The Interests criterion targets individuals according to their topic affinities and content preferences.
  6. (Optional) Enable Include Anonymous to include anonymous visitors in the segment.

    Note

    Individual attribute criteria always exclude anonymous visitors, regardless of this setting.

  7. Click Save Segment. The segment is saved and begins evaluating individuals against the criteria you defined.

After configuring your criteria, the segment is ready to save.

Building Criteria Rules

After adding criteria to the builder, you can modify them as needed:

  • To move a criterion: Click and drag it using the vertical dots (Drag icon.) on its left.

  • To delete a criterion: Click Delete (Delete icon.), or click Actions (Actions icon.) and select Delete.

  • To duplicate a criterion: Click Actions (Actions icon.) and select Duplicate.

Adjacent criteria are connected by a logical operator. Click AND or OR between them to switch operators:

  • AND narrows the segment by requiring both conditions — for example, visitors from France who viewed a product page.
  • OR broadens the segment by matching either condition — for example, visitors from France or anyone who viewed a product page.

To create nested rules, drag one criterion onto another to form a subgroup. The subgroup is connected to adjacent criteria with its own AND or OR operator, so you can create more complex segment definitions.