Skip to main content
Sitecore Documentation
  • Learn
  • Downloads
  • Changelog
  • Roadmap
CDPCloud Portal
Sitecore CDP
            • String comparators
            • Number comparators
            • Date comparators
            • Boolean comparators
            • Other comparators
        • Interrogating your organization's data
        • Edit, move, or delete a filter group
        • Apply a set limit filter
        • Calculate segment audience size
    • Segment best practices
    • Using segments
    • View segment usage and details
    • Understanding segment calculations
  • Data browser
  • Glossary
  1. Create and add rules to a segment in Sitecore CDP
  1. Sitecore CDP
  2. Introduction to batch segmentation
  3. Create and add rules to a segment in Sitecore CDP
  4. Using comparators in a segment

Using comparators in a segment

You use a comparator in a segment to compare the data between fields or values in a rule group. Comparators are based on data types.

You can select a comparator from any of the following categories:

  • String

  • Number

  • Boolean

  • Date

  • Other

If you have suggestions for improving this article, let us know!

Documentation Assistant

This assistant uses AI to generate responses based on Sitecore documentation. While it has access to official sources, answers may be incomplete or inaccurate and should not be considered official advice or support.
Powered by
k
kapa.ai
Protected by reCAPTCHA

© Copyright 2026, Sitecore A/S or a Sitecore affiliated company.
All rights reserved.

Privacy policySitecore Trust CenterTerms of use