Entity Properties
Entity Property SQLs define entity-level properties that do not change as a result of experiments. Examples include original traffic source and primary country:
select user_id
, original_traffic_source
, primary_country
from analytics_prod.user_dim
If your property could change as part of the experiment (subscription tier, etc.), we suggest you add the property value at point of assignment to the Assignment SQL definition.
Both properties added to Assignment SQLs and Entity Property SQLs are listed on the Definitions page under the Entity Properties tab
Creating an Entity Property SQL
To create an Entity Property SQL follow the steps below:
- Navigate to the Definitions page, click Create Definition SQL, select Entity Property SQL, and choose the relevant entity
- Give the Entity Property SQL a title
- Write SQL that returns the properties of interest
- Use the right panel to specify which column ties to the entity
- Create one or more Entity Properties by specifying a column in the table and giving it a human-readable name
Once you're finished adding mapping columns into Eppo, click Save & Close.