Skip to main content
Users
CloudPortalLogin
  • Powered byPowered by
Developing with Sitecore CDP
Data privacy
Before you start sending data
Integrating with Sitecore CDP
Stream API
Batch API
REST APIs
Data lake export service
  • Sitecore CDP for developers
  • Stream API
  • Sitecore Engage SDK reference
  • Functions
  • Engage.getBrowserId()

Engage.getBrowserId()

The getBrowserId() function returns the browser ID. This function is used for testing and debugging purposes.

sidebar. Parameters

none

Log the browser ID to the console:

RequestResponse
console.log(engage.getBrowserId());
// "a38b230c-11eb-4cf9-8d5d-274e9f344925​"

You can use the string that was logged to the console to find data about a specific user in Sitecore CDP.

Do you have some feedback for us?

If you have suggestions for improving this article,

Privacy policySitecore Trust CenterCopyright © 1999-2025 Sitecore