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.

  1. Navigate to AudienceStream > Visitor/Visit Attributes and click + Add Attribute.
  2. Select the scope of Visitor and click Continue.
  3. Select the data type String and click Continue.
  4. Enter the name of the attribute, "Email Address".
  5. Click Add Enrichment and select Set String, and set the Visitor String to the event variable email_address
  6. Leave the "WHEN" set to "Any Event", then click Create a New Rule.
  7. Create a rule that identifies the qualifying event, for example:
    tealium_event equals user_register
  8. 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.