- Functions
getBrowserId
Version:
| Type | Function |
| Import path | @sitecore-cloudsdk/core/browser |
Returns the browser ID from the sc_{SitecoreEdgeContextId} cookie. Used for testing and debugging purposes.
Signature
Return value
Returns the browser ID.
Examples
Example 17. Running the getBrowserId function
Here's an example of how to use the getBrowserId function to log the browser ID to the console:
:::
If you have suggestions for improving this article, let us know!