@sitecore-cloudsdk/events
Version:
The Cloud SDK events package is for tracking site visitors’ behavior by capturing events in real time.
Installation
Important
To use this package, you also have to install the core package. For more information, see Install and initialize the Cloud SDK.
The events package is preinstalled in JSS Next.js apps. The package's browser module is imported into src/lib/context/sdk/events.ts and initialized, and the tracking functionalities that run automatically are implemented in src/components/CdpPageView.tsx.
Import the package's browser module only if you want to set up additional tracking functionalities.
If you have suggestions for improving this article, let us know!