This article describes the Tally attribute and how to use it in the Universal Data Hub (UDH) product.
In this article:
The Tally attribute maintains a count of specific values that occur across many events, which provides a view into the intent and browsing preferences of a visitor. You can use the Tally attribute to assign badges, segment visitors into relevant audiences, or to create new string attributes.
Each Tally attribute creates a corresponding visitor string attribute by default. This newly-created string attribute has the same name as the tally with the word "(favorite)" appended and automatically captures the name of the item with the highest tally value.
Data collected from the Tally attribute is organized as a collection of key/value pairs.
The following table illustrates an example of a tally named "Category Viewed", which counts the number of times a product category was viewed and then creates a visitor string attribute for the item with the highest value.
|Tally Attribute: "Category Viewed"|
|Tally Key||Tally Value|
|String Attribute: "Category Viewed (favorite)"||"Jeans"|
Enabling Experiments for the Integer attribute type allows you to change the type of an existing Tally attribute type from decimal to integer or to select from two (2) Number attribute types when creating a new Tally attribute:
Use the following steps to add a Tally attribute:
This feature is available to DataAccess users only and requires AudienceDB to be enabled in the profile. (Learn more)
In order to set or update a Tally attribute, you must first apply an Enrichment.
Use the following steps to apply an enrichment:
Choose this option if you are not sure what to select.
Applying a rule is not mandatory but is highly recommended. Rules make it possible to more finely control when and where an enrichment triggers and provides additional an trigger that supersedes what is configured in the WHEN options.
Use the following steps to apply a one or more rules:
Use the following steps to verify your changes, save your work, and publish the change:
If you delete a Tally attribute, the corresponding "(favorite)" attribute is removed automatically when the browser is refreshed.