has trait

Create audiences based on data unique to your business and each visitor.
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!
For example, you might have a sign up form that captures a user's first name and last name and other details about them. Your website or third party applications might push those traits to Ninetailed in this format:
"firstName": "Bruce",
"lastName": "Wayne",
"favoriteColor": "black"
"numberOfTimesSavedWorld": 42
The types of values captured like firstName are called keys. The values are the data of the visitor ("Bruce", "Wayne", etc.).
Using this rule to define and audience requires that your application or third-party applications send key:value data using the Ninetailed SDK.identify() method. You must know the exact case-sensitive name(s) of the trait(s) that your identify() calls set. For more information check the identify event guide.‌

Rule Structure

This rule consists of one of each of:
  • a trait name (the key of the trait)
  • a value matcher, composed of:
    • a value matching operator
    • a trait value

Trait Name

The key of the trait whose value you want to compare. This must exactly match (case-sensitive) the trait name set by the Ninetailed SDK identify method or supplied by an upstream data platform.

Value Matcher

Matching Operator

Defines how the actual value of the trait should be compared to the value set in the rule. Possible values include:
  • equals
  • greater than or equal to
  • less than or equal to
  • greater than
  • less than
  • matches, for matching a Regex expression
  • ends with
  • starts with
  • does not contain
  • contains
  • does not equal

Trait Value

The value you wish to compare to the actual trait value of the profile. This can either a string (text) or a number, depending on the value of the trait.



Create dynamic personalized content for visitors which work in a specific vertical, e.g. e-commerce:​‌