Skip to content
Last updated

Segment Examples

  • Men between the ages of 18 and 35 living in New York: "Expression": "(IsBetweenNumbers(age,18,35)) AND (gender=\"male\") AND (city=\"New York\")"

  • Users that have not generated a click event in the last month, or have not generated an open event in the last year: "Expression": "((not hasclickedsince(30))) OR ((not hasopenedsince(365)))"

  • Users that have a birthday today (CET time zone): "Expression": "(FormatDateTimeTZ(\"mm-dd\",birthday,\"+01:00\")=FormatDateTime(\"mm-dd\",DateTimeNow()))"

  • Male users over the age of 40, or female users over 45: "Expression": "((gender=\"male\") AND (age>40)) OR ((gender=\"female\") AND (age>45))"