@sitecore-cloudsdk/events/server
Version:
| Import path | @sitecore-cloudsdk/events/browser |
The server module of the Cloud SDK events package provides the following functions, interfaces, types, and variables to capture and send events from the server side.
Functions
Work with events using the following functions:
Interfaces
Structure objects using the following interfaces:
| Name | Description |
|---|---|
EventAttributesInput | Data common to VIEW, IDENTITY, and custom events. |
PageViewData | Data for VIEW events. |
IdentityData | Data for IDENTITY events. |
EventData | Data for custom events. |
Types
Populate data requests with objects implementing the following types:
| Name | Description |
|---|---|
ExtensionData | Any custom data to collect about an event in addition to the other attributes provided for the event data. |
Variables
| Name | Description |
|---|---|
EVENTS_NAMESPACE | The Cloud SDK and package name. |
PACKAGE_NAME | The name of the installed Cloud SDK package. |
PACKAGE_VERSION | The version of the installed Cloud SDK package. |
PACKAGE_INITIALIZER_METHOD_NAME | The name of the initializer method of the Cloud SDK package. |
If you have suggestions for improving this article, let us know!