0.3
  1. Cloud SDK 0.3

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.

How you get started with the Cloud SDK depends on the type of your app and which Sitecore DXP capabilities you want to set up.

If you're using a JavaScript web app, we recommend that you get started in the following way:

  • Real-time, unified tracking - start by capturing VIEW events because they are essential for tracking. Then, continue setting up tracking by capturing other events, such as IDENTITY and custom ones.

    Important

    Only set up tracking if your site visitor grants consent.

  • Personalization - you have already set up web personalization during initialization, so continue by setting up interactive personalization.

If you're using a JSS app connected to SitecoreAI, certain capabilities automatically run, 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 apps automatically, with no coding required:

In addition to the capabilities that run automatically, you can set up the following Cloud SDK capabilities in your JSS app. These capabilities are provided by different Cloud SDK packages 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 - continue setting up tracking on your site by capturing more events:

    • Capture IDENTITY events - this event is used to resolve the identity of an anonymous site visitor to your app.

    • Capture Sitecore Search events - if you have created at least one search experience in your app, these events let you track a site visitor's interactions with the experience.

    • Capture custom events - custom events let you track any visitor behavior of your choice, for example, when the site visitor clicks a component.

    Important

    Only set up tracking if your site visitor grants consent.

  • Personalization - you have already set up web personalization during initialization, so continue by setting up interactive personalization.

If you have suggestions for improving this article, let us know!