🛠️ What Are Trait Data Types?
On this page, you can view and configure the data types of traits that have been ingested into Accoil. Setting the correct data type ensures that the right filtering and segmentation options are available throughout the platform.
🔎 Why Data Types Matter
Accoil uses data types to determine how traits can be filtered and analyzed. Here's how different types behave:
String (default)
Supports exact match filtering
Number
Enables filtering by thresholds (e.g., greater than, less than, equals)
Useful for traits like "Session Count", "Team Size", etc.
Date
Enables filters like:
Before / After a specific date
Within the last X days / weeks / months
On / Not on a date
Ideal for traits such as “Signup Date” or “Last Login”
Percentage
Treated as a numeric value between 0–100
Supports filtering with:
Greater than / Less than
Within a specified range
Useful for traits like "Activation Rate", "Profile Completion", or "Adoption %"
⚠️ The default type for all traits is String until changed manually.
👥 Trait Categories
Traits are grouped into two categories:
User Traits — Properties associated with individual users
Account Traits — Properties tied to the company or organization (account)
You can manage data types separately for each group using the tabs in the UI.
🤝 System Traits from Integrations
You may notice traits that originate from external systems like Attio or HubSpot.
These are added by Accoil to support syncing between platforms and cannot always be renamed or deleted. However, their data types can still be adjusted to support filtering where applicable.
💾 Saving Changes
After updating data types:
Click Save at the top-right to apply your changes
Filters and segmentation rules will immediately reflect the new data type logic
If you leave the page without saving, your changes will be lost.
✅ Summary
The Trait Data Types page helps you fine-tune how traits behave across filtering, segmentation, and scoring by assigning the right data type:
String, Number, Date, or Percentage
Enables relevant filters for more powerful analysis
Changes only apply once you click Save
For a deeper dive into how traits work in Accoil, check out our traits guide →