Logo Help Center
Chat with us
Open a ticket
Sign in
  1. aytm Help Center
  2. aytm Logic
  3. General

Articles in this section

  • Overview
  • Demographic Trait reference logic
  • Using Logic to End a Response
  • aytm Logic Glossary
  • Question Modifiers
  • Survey Flow Operations
  • Punch Logic
  • Miscellaneous aytm Logic information
  • Pipe Answers from a Rank Question Type

Demographic Trait reference logic

As you create your survey, you can manipulate survey presentation by using a combination of conditional show logic, balance logic, and other pathing logic, in combination with a variable like demographic traits. Here is the logic used to reference demographic traits in your survey.

Trait Logic Example

Gender (binary)

gender = "f"

gender = "m"

[Show if gender = "f"]
Gender (non-binary) 
US, UK, CA only

gender = "f"

gender = "m"

gender = "n"

[show if gender = "n"]
Age

age = #

age_range = #-#

[show if age=18]

[show if age_range="25-34"]

Relationship Status

relationship_status in "single"

relationship_status in "married"

relationship_statusin "widowed"

relationship_status in "significantother"

relationship_status in "engaged"

relationship_status in "divorced"

[show if relationship_status in "engaged"]
Employment status

employment="fulltime"

employment="parttime"

employment="freelancer"

employment="student"

employment="homemaker"

employment="retired"

employment="disabled"

employment="unemployed"

[show if employment = "student"]
Education

education_level = "nocollege"
education_level = "somecollege"
education_level = "2yrdegree"
education_level = "4yrdegree"
education_level = "gradschooldegree"
education_level = "professionaldegree"

[show if education_level = "2yrdegree"]
Career

career = "acc/fin/bank"

See complete list of available careers

[show if career = "adv/design"]

Race/Ethnicity*

Learn more about US-based trait classifications

Learn more about Race/Ethnicity logic

race = "____"

[show if race = "nativeamerican"]

[show if race = "black"]

Hispanic Origin (US only)
Learn more about referencing Hispanic Origin

hispanic = "yes"

hispanic = "no"

[show if hispanic = "yes"]

Income*

income = "0-25k"

[show if income = "25k-50k"]

[show if income = "EUR35-50k"]

[show if income = "CNY100-150k"]

Children in Household

children = "0"

children = "1"

children = "2"

children = "3"

children = "4"

children = "5+"

[show if children =”0” or children = “1” or children = “2” or children = "3" or children = "4"]
Child Age & Gender

children_age_and_gender="boy 0-12m"

children_age_and_gender="girl 2y"

[show if children_age_and_gender = "boy 0-12m" or children_age_and_gender = "girl 0-12m" or children_age_and_gender = "boy 1y" or children_age_and_gender = "girl 1y"]

*Race/Ethnicity and Income questions and their corresponding logic are dependent upon the fielding country's cultural norms.

  • Facebook
  • Twitter
  • LinkedIn
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request
Return to top
  • Our platform
  • Solutions
  • Pricing
  • Our panels
  • Help center
  • Contact us
  • Blog
  • Privacy
  • TOU
  • About
  • Careers
  • Innovation lab
  • Demo
© 2022, Umongous, Inc. All rights reserved.

zendesk theme design by aytm c/o diziana