Visitor Attributes
Last updated
Last updated
CustomFit allows you to target visitors based on various custom attributes such as Designation, Team, and so on. For example, if you are running an email campaign for the Marketing team then, you can create a custom attribute as Team. All the custom attributes can be attached to the visitors as query parameters.
To write a rule based on custom attributes
Click on Add rule
Click on the attribute field
In the dropdown, you can see the Custom Properties section
Select the required attribute
Next, set the operator type based on your requirement
Enter the value/s
Then select which behavior needs to be served.
CustomFit allows you to create custom attributes of the following types:
String
Number
Boolean
Use this operation type if you want to match each character from start to end. For example, to target the visitors with the team as Marketing. So, the rule will be Team IS_ONE_OF Marketing
To target the visitors apart from the Marketing team. So, the rule will be Team IS_NOT_ONE_OF Marketing
Use this operation to perform the prefix match with the query parameter value. For example, to target the visitors whose first name starts with John. So the rule will be firstname STARTS_WITH John
To target the visitors whose first name does not starts with John. So, the rule will be firstname DOES_NOT_STARTS_WITH John
Use this operation to perform the suffix match with the query parameter value. For example, to target the visitors whose email id ends with ai domain. So the rule will be email_id ENDS_WITH ai
To target the visitors whose email id is not gmail.com. So, the rule will be email_id DOES_NOT_ENDS_WITH gmail.com
Use this operation to perform the substring match with the query parameter value.
Use this operation to check whether the query parameter value has been set or not. For example, to target the visitors whose designation is known to us. So, the rule will be Designation IS_SET
To target the visitors whose designation is not known to us. So, the rule will be Designation IS_NOT_SET
Use this operation type if you want to target the visitors whose age is 25. So, the rule will be Age IS_ONE_OF 25
To target the visitors apart from the age 25. So, the rule will be Age IS_NOT_ONE_OF 25
Use this operation type if you want to target visitors whose age is greater than 25. So, the rule will be Age GREATER_THAN 25
To target visitors whose age is greater than or equal to 25. So, the rule will be Age GREATER_THAN_OR_EQUAL_TO 25
Use this operation type if you want to target visitors whose experience is less than 3 years. So, the rule will be Experience LESS_THAN 3
To target visitors whose experience is less than or equal to 3 years. So, the rule will be Experience LESS_THAN_OR_EQUAL_TO 3
Use this operation to check whether the query parameter value has been set or not. For example, to target the visitors whose age is known to us. So, the rule will be Age IS_SET
To target the visitors whose age is not known to us. So, the rule will be Age IS_NOT_SET
Use this operation if you want to check whether any of the boolean attributes is set to TRUE or FALSE. For example, to target the visitors who have already requested a demo. Assume that you are using a boolean attribute "demo requested" to keep track of whether the visitor has requested the demo or not. So, the rule will be demo requested IS_ONE_OF True
To target the visitors who have not requested a demo. So, the rule will be demo requested IS_ONE_OF False
CustomFit allows you to write a rule by combining the different attribute types. For example, if you want to target visitors whose team is marketing, the experience is 3 years and they have not requested a demo. So the rule will be Team IS_ONE_OF Marketing AND Experience GREATER_THAN_OR_EQUAL_TO 3 And Demo Requested IS_ONE_OF False
CustomFit provides two ways to create visitor attributes:
Through Dashboard.
Through URL. To Create a visitor attribute just add the required attribute as a query parameter in the URL with the prefix cfup. For example, if you want to create a visitor attribute Team then the URL should be https://customfit.ai?cfup_team=Marketing. If you are creating visitor attributes through URL then, the attribute type will be decided based on the attribute value. In the above example, the attribute Team will be of type String.