---
title: "@sitecore-cloudsdk/core/browser"
slug: "cloud-sdk-core-browser"
abstract: "List of browser-side functions in the Cloud SDK core package."
---
# @sitecore-cloudsdk/core/browser

|     |     |
| --- | --- |
| Import path | `@sitecore-cloudsdk/core/browser` |

The `browser` module of the Cloud SDK `core` package provides the following functions to initialize the SDK and other SDK packages.

## Functions

Initialize the Cloud SDK using the following function:

| Name | Description |
| --- | --- |
| [`CloudSDK`](https://doc.sitecore.com/sdk/en/developers/005/cloud-sdk/cloud-sdk-reference/cloud-sdk-core/cloud-sdk-core-browser/functions/cloud-sdk-core-browser-cloudsdk.html "CloudSDK") | Initializes the Cloud SDK and any SDK packages of your choice.<br><br>Initialize SDK packages before running any functions in the package modules. |
| [`getBrowserId`](https://doc.sitecore.com/sdk/en/developers/005/cloud-sdk/cloud-sdk-reference/cloud-sdk-core/cloud-sdk-core-browser/functions/cloud-sdk-core-browser-getbrowserid.html "getBrowserId") | Returns the browser ID[^UUID-101b62f6-b640-ed11-1057-29646ebb9fb7_N6659aee98cafa]. Used for testing and debugging purposes. |
| [`getGuestId`](https://doc.sitecore.com/sdk/en/developers/005/cloud-sdk/cloud-sdk-reference/cloud-sdk-core/cloud-sdk-core-browser/functions/cloud-sdk-core-browser-getguestid.html "getGuestId") | Returns a promise that resolves to the guest[^UUID-101b62f6-b640-ed11-1057-29646ebb9fb7_N66588956cee31] ID. Used for testing and debugging purposes. |

[^UUID-101b62f6-b640-ed11-1057-29646ebb9fb7_N6659aee98cafa]: A universally unique identifier (UUID) that Sitecore CDP assigns to every site visitor of your site. It is unique per browser, and it associates sessions and events with the respective site visitor. The Cloud SDK stores the browser ID as the value for the first-party `sc_{SitecoreEdgeContextId}` [cookie](https://doc.sitecore.com/sdk/en/developers/004/cloud-sdk/en/cloud-sdk-cookies.html) in the web browser.

[^UUID-101b62f6-b640-ed11-1057-29646ebb9fb7_N66588956cee31]: A site visitor, also known as a user of your app. Site visitors are called guests in Sitecore CDP. That's why Cloud SDK developers encounter the term *guest* when they use the [`events`](https://doc.sitecore.com/sdk/en/developers/005/cloud-sdk/cloud-sdk-reference/cloud-sdk-events.html "@sitecore-cloudsdk/events") package, and when they log in to Sitecore CDP to [find captured events](https://doc.sitecore.com/sdk/en/developers/005/cloud-sdk/cloud-sdk-concepts/concepts-tracking/working-with-the-collected-data.html "Working with the collected data").
