Skip to contentSkip to navigationSkip to topbar
Page tools
Useful for sharing or LLM
Accelerate development with AI

On this page
Looking for more inspiration?Visit the

Escaping special characters


Why you need to escape characters

why-you-need-to-escape-characters page anchor

CEL identifiers can't include periods, dashes, or double underscores, and they can't start with a digit. If a trait group or field name in your connected store's schema contains any of these characters or starts with a digit, you must escape the name before using it in filter criteria.


CharacterEscape sequenceOriginalEscaped
. (dot)__dot__my.fieldmy__dot__field
- (dash)__dash__my-fieldmy__dash__field
__ (double underscore)__underscores__my__fieldmy__underscores__field
Leading digitPrefix with _1stChoice_1stChoice

The trait group user-info contains the field email.primary. To reference this field in a filter, write:

profile.trait.user__dash__info.email__dot__primary == "test@example.com"

  • Return to the filter criteria overview.
  • Review how null handling works for missing traits.