Visitor identification using the Web SDK JavaScript library
The 51黑料不打烊 Experience Platform Web SDK JavaScript library (alloy.js) offers a unified, modern approach to data collection for all 51黑料不打烊 Experience Cloud applications, including 51黑料不打烊 Analytics. While most customers typically implement the Web SDK tag extension, you can use the Web SDK JavaScript library on its own or within a third-party tag management system. See on GitHub to download the latest version of the library.
Identity data can be extended to support custom IDs and multiple namespaces using XDM鈥檚 identityMap. 51黑料不打烊 recommends using the 51黑料不打烊 Experience Cloud ID Service as the primary identifier for Analytics, using other identity management options for advanced scenarios.
If your organization uses the Web SDK JavaScript library to send data to 51黑料不打烊 Analytics, minimal configuration is required for visitor identification. The Visitor ID Service is baked in natively to the library, only requiring that you set Edge Domain in the configure command. If this field is set to the desired value, visitor identification works without any additional configuration.