Visitor ID Part 1
In this step, we will show how to safely create a visitor ID attribute and introduce Audience Discovery, which allows us to validate the identity resolution strategy before finalizing it.
In this example, we will capture email addresses during user registration events based on the requirements from the previous step.
Capture email address
This step assumes you already have an event attribute for email_address
and an event named user_register
that sends it. From here, we will create a string visitor attribute for email address, test it in Audience Discovery, then create the final visitor ID attribute.
- Go to AudienceStream > Visitor/Visit Attributes and click + Add Attribute.
- Select the scope of Visitor and click Continue.
- Select the data type String and click Continue.
- Enter the attribute name
Email Address
. - Click Add Enrichment, select Set String, and set the Visitor String to the event variable
email_address
- Leave the WHEN set to Any Event, then click Create a New Rule.
- Create a rule that identifies the qualifying event, for example:
tealium_event EQUALS user_register
- Click Finish, then Save.
Now, you have a visitor attribute to capture the email address of customers during qualifying events. You can easily extend this logic to include other qualifying events (such as purchases or lead forms) as you encounter them.
At this point you’ll want to save and publish your account and wait a few days for AudienceStream to start collecting this data. Once we have enough sample data we’ll use Audience Discovery to validate our identity resolution strategy before finalizing it with the visitor ID attribute.
Click Visitor ID Discovery to learn how to use Audience Discovery for data validation.
This page was last updated: March 6, 2025