Visitor ID Part 1
In this step we will show how to safely create a visitor ID attribute and introduce Audience Discovery, where we can validate the identity resolution strategy before committing to 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 visitor attribute (string) for email address, test it in Audience Discovery, then create the final visitor ID attribute.
- Navigate 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 name of the attribute,
Email Address
. - Click Add Enrichment and 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 Next to see how to use Audience Discovery to validate the data.
This page was last updated: April 11, 2024