Visitor ID Attribute

Visitor ID Attribute

by on ‎03-03-2016 02:31 PM - edited on ‎03-23-2018 11:25 AM by Community Manager (3,582 Views)

The Visitor ID Attribute is used to store a unique identifier, such as email address or customer ID, as a Visitor Attribute. This Attribute is treated as a secondary identifier for the purpose of Visitor Stitching.

Table of Contents Placeholder

Visitor ID Requirements

Identifying your visitors is a critical step in leveraging the power of visitor stitching. In every customer interaction, across channels and devices, there is an opportunity to capture the identity of the visitor in the form of attributes such as "customer_email" or "customer_id". As these attributes are encountered across multiple visitor sessions, AudienceStream will stitch together visitor profiles that share a visitor ID value to build a more complete profile of the visitor. The Visitor ID attributes used to identify your visitors should contain values that meet the following requirements:

  • Uniqueness - each visitor should have an identifier that is unique to them and only them.
    • Strong identifiers: email address or customer ID. These values are usually associated with a single person and are not likely to change.
    • Weak identifiers: first/last name, username, or phone number. These values cannot be guaranteed to be unique to each visitor and have a high likelihood of changing over time.
  • Length - (system requirement) values must be at least 6 characters long.
  • Non-repeating - (system requirement) values must contain at least 3 different characters e.g. a 10-character identifier with only 2 different characters ("a1a1a1a1a1") would be invalid.

The system will not accept a value that does not satisfy the length and non-repeating requirements (i.e. you do not have to check for these conditions in the configuration).

Vendor Specific Identifiers

Third-party vendors that also track visitor activity are also likely to have a unique identifier for each user. These values can also be used as a Visitor ID attribute in AudienceStream. To ensure uniqueness across all third-party vendors it's a best practice to create a separate Visitor ID attribute for each vendor that will be providing an identifier. For example, if your visitors have accounts with Facebook and Twitter you would create corresponding Visitor ID attribute for each vendor e.g., "Facebook ID" and "Twitter ID".

Before You Begin

Be sure to review the guide on visitor stitching to ensure you create the most accurate Visitor ID attribute possible.

Create a Visitor ID

  1. Go to Attributes and click Add Attribute.
  2. In the Scope selection window, choose Visitor.
  3. In the Data Type listing, choose Visitor ID and click Continue.

    visitor id data type.png

  4. In the Title field, enter a descriptive name for the Visitor ID instance. This is required.

    Make sure the title contains ASCII characters (0 to 127) only and does not exceed 250 chars.

  5. Provide helpful comments in the Notes field (optional yet recommended).
  6. AudienceDB: Checking this box sends data from this Visitor ID to Amazon Redshift. This feature is available to DataAccess customers only and requires AudienceDB to be enabled in the profile. Learn more.

visitor properties.png

Add an Enrichment

To set the value of a Visitor ID add an Enrichment. To add an enrichment

  1. Click Add Enrichment and the enrichment configuration will appear.
  2. From the dropdown, choose the attribute to use to set the Visitor ID.
  3. From the WHEN drop-down list choose the timing of the enrichment. This specifies when the enrichment will be applied.
    • New Visitor - Enrichment will occur when the visitor is new to your site.
    • New Visit - Enrichment will occur on a new visit by a visitor.
    • Any event - Enrichment will occur anytime a page event occurs(Most common timing.)
    • Visit ended: Enrichment will occur when a visit ends.
  4. Repeat the steps above to add more enrichments.

Apply a Rule

A rule condition provides additional control over when an enrichment occurs. You can use pre-defined rules from the system or create your own custom rules.

  • To apply a predefined rule, make a selection from the drop-down list and click Attach Rule.
  • To apply a new rule, click Create a New Rule. For detailed help, click here.

Adding a new Rule via the Enrichments dialog box automatically applies it to the Enrichment.

apply create rule .png

Save and Publish

This is the final step. Click on 'Save/Publish' at the top-right corner to confirm the changes you introduced in your profile.

FAQ

Is there a maximum character length?

Yes, the maximum number of characters allowed is 255.

Are special characters supported?

Yes, all UTF characters are supported.

Are multi-byte characters, such as UTF8, supported?

Yes, our system does support multi-byte characters, such as UTF8.