Skip to content
Last updated

Data Enrichment Action Reference

In Parent Segments, you can execute a list of enrichment actions by adding specific td_ columns to the behavior tables in the TD Console, as shown in this example:

Attribute Enrichment Enablement

Attribute Enrichment Options are enabled by default. However, if you don't have the required fields (td_client_id, td_ip, td_host, td_path, td_title, td_description) in your parent segment, we recommend disabling these options. Disabling these options reduces some tasks in the Audience Workflow build, which will help improve workflow performance.

Attribute Enrichment

For these types of enrichment, add the source column to the Attribute table definition when defining your master segment.

Enrichment typeDescriptionSource columnAdded output columnsColumn description
Last Access DateAdds the most recent customer access date.td_client_idtd_last_access_date
Last IP Information EnrichmentAdds customer information by IP using TD_IP_TO_* functions.td_iptd_country_name, td_ip_city_name, td_ip_city_latitude, td_ip_city_longitude, td_ip_city_metro_code, td_ip_city_time_zone, td_ip_city_postal_code, td_ip_least_specific_subdivision_name, td_ip_most_specific_subdivision_name, td_ip_subdivision_names, td_ip_connection_type, td_ip_domainSee the Treasure Data IP reference.
Content Affinity EngineAdds words of interest and interest categories based on content title and description. Uses OpenRTB’s category list.td_host, td_path, td_title, td_descriptiontd_interest_words, td_affinity_categories, td_affinity_category_scores, td_affinity_sub_categories, td_affinity_sub_category_scoresTF-IDF keywords and category scores.

Behavior Enrichment

For these types of enrichment, add the source column to the Behavior table definition when defining your master segment.

Enrichment typeDescriptionSource columnAdded output columnsColumn description
User Agent ParsingMaster Segments can automatically parse the user_agent string.td_user_agenttd_user_agent_categoryCategory extracted from td_user_agent, for example element_at(td_parse_agent(td_user_agent), 'category').
td_user_agent_nameName extracted from td_user_agent.
td_user_agent_osOS extracted from td_user_agent.
td_user_agent_os_versionOS version extracted from td_user_agent.
td_user_agent_vendorVendor extracted from td_user_agent.
td_user_agent_versionVersion extracted from td_user_agent.
utm_ Parameters ParsingAutomatically extracts utm_campaign, utm_medium, and utm_source URL parameters used for online campaign attribution.td_urltd_utm_campaignCampaign name.
td_utm_mediumMedium (for example, email, CPC ads).
td_utm_sourceSource (for example, Google, Facebook).
IP Information EnrichmentAdds additional customer information by IP using TD_IP_TO_* functions.td_iptd_country_name, td_ip_city_name, td_ip_city_latitude, td_ip_city_longitude, td_ip_city_metro_code, td_ip_city_time_zone, td_ip_city_postal_code, td_ip_least_specific_subdivision_name, td_ip_most_specific_subdivision_name, td_ip_subdivision_names, td_ip_connection_type, td_ip_domainSee Attribute Enrichment.
Web Crawler Access ExclusionRemoves access data generated by web crawlers so profiles contain only real human activity.td_user_agentThe behaviors are removed; no additional columns are added.

Content Affinity Engine Example

Based on the content's title and description, Treasure Data adds words of interest and estimates to profile interest categories. OpenRTB's list of categories is used as a master category list.