A String Attribute stores a text value about a Visitor, Visit, or Event. Examples include: Gender, Last Name, Favorite Product, and Membership Type.
Setting up an Enrichment is how you change or update a String to make certain you receive the most recent data. There are two Enrichments for a String Attribute: Set String and Split String.
1. Click the 'Create an Enrichment' button. Select Set String.
2. Set a value for this instance of String. There are two ways to do this:
NOTE: The drop-down provides only String Attributes and Tealium iQ Data Sources. Didn't find the String in the dropdown? Click the "Add String" button and create a new instance.
3. Select a trigger from the WHEN dropdown. This tells AudienceStream when to listen for changes that require enriching an Attribute.
4. Repeat steps 1 to 3 if you wish to create additional Enrichments.
Rules define the precise conditions that determine when to Enrich an Attribute. When configuring a new Attribute, you have the option to apply a predefined Rule or create a new Rule.
NOTE: Adding a new Rule via the Enrichments dialog box automatically applies it to the Enrichment.
Finally, click the Save/Publish at the top-right corner to save and publish the changes to your profile. This completes the String Attribute configuration.
An email address is unique and expressed as a string value, making it a good fit for the String Attribute. Prior to setting the String, you must capture the visitor's email address with a UDO Variable, like "customer_email", in your Data Layer ( how to add Data Sources in Tealium iQ?).
Step 1. Add a new String Attribute.
Title: Customer Email Scope: Visitor
Step 2. Create the Set String Enrichment and set it to the customer's email address. Then specify the triggering event and Rule conditions.
Set String to: customer_email (Tealium iQ Data Source) WHEN: Any page event Attach/Create Rule: customer_email Is Assigned AND customer_email Contains "@"