- Functions
getGuestId
Version:
| Type | Function |
| Import path | @sitecore-cloudsdk/core/browser |
Returns a promise that resolves to the guest ID. Used for testing and debugging purposes.
Signature
Return value
Returns a promise.
Examples
Example 29. Running the getGuestId function
Here's an example of how to use the getGuestId function to log the guest ID to the console:
:::
If you have suggestions for improving this article, let us know!