Persistent cookie matching in EventStream is an enhancement to ensure that third-party cookie sync data is saved in a Tealium-owned third-party cookie and included in all subsequent event collection requests.
In this article:
Persistent cookie matching works in conjunction with cookie matching tags that run in iQ. Cookie matching tags make a request to a third-party vendor to retrieve a user identifier. The third-party vendor sends the anonymous identifier back to the Customer Data Hub to be associated to the visitor. That visitor data is then returned back to the website through Data Layer Enrichment. This process allows server-side actions to tie visitors events across multiple domains.
Here's how it works:
The Tealium Cookie Sync (TCS) cookie is valid for one (1) year, or when reaching the storage capacity of 4093 bytes.As an example scenario, the interaction between a TiQ cookie matching tag and the vendor might translate into something like this:
|Tealium Cookie Matching Tag:||“Hi, I’m Tealium, can you give me the visitor ID so that I can later tell you who this person is and something about them in a way you will understand?”|
|Vendor:||"Sure. Here you go, this is the Visitor ID."|
|Tealium Cookie Matching Tag:||
"Thanks. I'll take the Visitor IDs you provided and persist them in the Customer Data Hub. As useful data emerges, I'll leverage the data to your benefit and return it to you to use as needed."
The following diagram describes the flow of data between the Tealium Customer Data Hub and the customer website.
The following table lists the callback method and callback formatting for Tealium marketplace tags that support the persistent cookie matching service:
|Callback Method||Callback formatting||Tag Name|
|Calls Visitor Data (vdata)||
Uses a callback to make the vdata call.
(u.callback, query param with callback name, takes a cookie
(their url+vdata+query params)
|Does not call vdata||Copies an ID from one cookie to another||
Use the following steps to add a cookie matching tag:
To verify that your tag is the latest version and contains the latest functionality, click on the tag and view the Tool Tips section in the left navigation panel. The Tips section will contain a notification if a newer version of the tag is available and instruct you to disable the current version and add the new tag from the tag marketplace.
Learn more about adding and configuring tags from the tag marketplace.