Getting started with the Cloud SDK
If you are ready to start development and installed and initialized the Cloud SDK, you can start developing with it.
Capabilities that run automatically
Certain SDK capabilities automatically run in JSS Next.js and JSS Angular applications, with no coding required. We recommend that you set up additional capabilities to ensure that your app uses the full potential of Sitecore DXP products.
The following Cloud SDK capabilities run in JSS Next.js and JSS Angular apps automatically, with no coding required:
-
Real-time, unified tracking:
-
VIEW
event capturing - this tracks when a site visitor views a webpage in your app. By updating the Cloud SDK code in your JSS Next.js app, you can modify theVIEW
event configuration or disable it. -
FORM
event capturing - this tracks when a site visitor views or submits an XM Cloud form. The collected data is used to populate the XM Cloud form analytics dashboard.
-
-
Personalization:
-
XM Cloud personalizations - by updating the Cloud SDK code in your JSS Next.js app, you can configure and disable personalization.
-
Capabilities you can manually set up
In addition to the capabilities that run automatically, you can set up the following Cloud SDK capabilities in your JSS Next.js or JSS Angular app. These capabilities are provided by different Cloud SDK packagespackages that are independent of each other: you can set up all capabilities or only some of them, and in any order you prefer:
-
Real-time, unified tracking:
-
Capture
IDENTITY
events - this event is used to resolve the identity of an anonymous site visitor to your app. -
Capture Sitecore Search events - these events allow you to track a site visitor's interactions with Sitecore Search widgets.
-
Capture custom events - custom events allow you to track any visitor behavior of your choice, for example, when the site visitor clicks a component.
ImportantOnly set up tracking if your site visitor grants consent.
-
Personalization:
-
Run Sitecore Personalize web experiences and experiments.
-
Run Sitecore Personalize interactive experiences and experiments.
-
-
Search experiences:
-
Create a search results page - request search content, display it on your site, and capture events that occur during search.
-