has trait

Identifying whether a visitor has received a specific trait.
Using this rule requires that your application or third-party applications send key:value data using the Ninetailed.identify() call. You must know the exact case-sensitive name(s) of the trait(s) that your identify() calls set. For more information, see how to send events using our SDK or API.
The has trait condition targets any visitor whose profile contains a specific trait. Traits are key-value pairs that capture information about each unique visitor. Traits can be anything that your Ninetailed-enabled website sends to Ninetailed, or that third-party applications have pushed into Ninetailed. Traits can include things like a visitor's:
  • names
  • company name
  • birthday
  • loyalty program status and points
  • favorite color
  • anything else you can think of!
Example Ninetailed Audience using 'has trait' rule
"has trait" in the Audience Builder
Each has trait condition has a key and a value. Both must exactly match (case-sensitive) the values that were sent to Ninetailed's Experience API (via an API, SDK, or upstream data flow). The value you wish to compare can either be a string (text) or a number, depending on the value of the trait.
Note that trait values that are neither encoded as strings nor numbers will be coerced to their string equivalent. For example, if you want to build a rule to match a trait whose value is the boolean true, use the string "true" as the value when creating the rule.



Create dynamic personalized content for visitors who work in a specific vertical, e.g. e-commerce:​‌
Example Ninetailed Audience targeting visitors working in e-commerce