Visitor stitching is a form of identity resolution that works across platforms, devices, and browsers to associate activity to the same visitor. This article describes the different forms of identity resolution, how AudienceStream stitches visitors, and how to use the Visitor ID attribute to configure effective visitor stitching.
In this article:
A basic form of identity resolution, which makes use of the
utag_main_v_id cookie, is enabled by default when the Tealium Collect tag is configured in Tealium iQ. This cookie allows for intra-browser session stitching by providing a unique ID for the visitor. This associates each session within that browser to the same visitor (until the browser's cookies are cleared). This functionality is limited to a single browser.
To support inter-browser, cross-platform, and cross-device identity resolution, AudienceStream offers a feature called visitor stitching. Visitor stitching requires an identifier other than the
utag_main_v_id cookie that can be obtained consistently on any platform. In AudienceStream these secondary identifiers are called Visitor ID attributes. This
Visitor stitching can only be enabled by Tealium Support. Visit Support Desk to request that visitor stitching be enabled for your profile.
Here are some important notes about visitor stitching:
The Visitor ID is a value that is used to identify a visitor. For example, a Visitor ID might be displayed as:
While AudienceStream uses the
utag_main_v_id cookie as the main Visitor ID, you can define many secondary Visitor ID attributes. If you define secondary Visitor ID attributes, AudienceStream will scan through previous visitor sessions and try to stitch together those sessions.
Related article: Visitor ID Attribute
In this example, we will use the Facebook ID as a secondary Visitor ID attribute which is made available when a visitor logs into a website using Gigya's consumer identity management platform.
Using Gigya's service, the Facebook ID is made available to Tealium iQ upon login to a website.
Before you create the new Visitor ID attribute, you must create a rule to state when the attribute should be applied.
utag_main_fb_id" exists (is assigned) and does not equal
Create a temporary attribute to use for verification. Use a string attribute at first (instead of a Visitor ID) so that you can verify the data in Audience Discovery and ensure that there are no issues with duplicate Visitor IDs. If you create a Visitor ID attribute without verifying data, you risk improperly stitching visitor profiles.
Use the following steps to set up this attribute:
Save and Publish the rule and attribute to production so that AudienceStream can start collecting the data. The number of users on the website and the type of data being collected will determine how long before you can verify the data in AudienceStream.
In the sidebar, go to Facebook ID Exists and change the perspective of your view by selecting the newly created Facebook ID attribute.
Example of "Bad" Visitor ID
If there is a "bad" visitor ID, there could be hundreds of users with a Visitor ID of "0". With stitching was enabled, they would all be combined into a single visitor profile, which is obviously incorrect. To correct this, you can add a condition to the rule that is applied to the attribute and check that the value is not equal to "0".
Example of "Good" Visitor ID
In the case of a "good" Visitor ID, there could be several users with a value of "none". This is normal as not every visitor will have a Visitor ID. There is only a small sample of users that appear to have a duplicate ID. It is almost impossible to distinguish why thee IDs below may have 2 users assigned to them. It is; however, less than 1% of the population, so it is OK to enable Visitor Stitching.
Create a Visitor ID attribute that will get its value from the previous Facebook ID attribute create, give the Visitor ID attribute a title and note, and then apply the newly created rule. Save and publish to production to start recording data.
Now that you've completed the appropriate verification of data, visit Support Desk to ask for Visitor Stitching to be enabled for the desired account/profile.
Once the configurations are live, an example of stitching occurs as follows:
Once logged in with Facebook, two new data layer variables are created:
utag.data["va._secondary_ids"] will exist with an array value of
utag.data["va.secondary_ids.5435"] will exist with a string value of "1469626503"
The "5435" in the attribute variable name is the ID assigned to the "Facebook ID" attribute within AudienceStream. You can find this number by viewing the attribute details within Tealium iQ where the UID is stated. Notice how the variable name uses "Secondary ID" to signify the connection to the master Visitor ID.