Skip to main content
Users
CloudPortalLogin
  • Powered byPowered by
Developing with Sitecore CDP
Data privacy
Before you start sending data
Integrating with Sitecore CDP
Stream API
Batch API
REST APIs
Data lake export service
  • Sitecore CDP for developers
  • Before you start sending data
  • Sending events

Sending events

The Stream API lets you collect and send behavioral data to Sitecore CDP in real time. The behavioral data can include a guest's page views, clicks, searches, and identifiers.

Note

To capture data in JavaScript or TypeScript web applications, we recommend that you use either Sitecore Cloud SDK or the Engage SDK. These SDKs use the Stream API behind the scenes and let you easily capture data in your web app.

Your organization can send additional, custom data with events and use that data in batch segmentation and audience exports.

To ensure that you can access view the event data in the Sitecore CDP UI and use the data elsewhere in Sitecore CDP, including custom data, you must model the event object, and the optional event data extensions and custom events, according to your organization's integration:

  • If your organization is using the Engage SDK to integrate, follow the schema for modelling the event data object.

    To send additional, custom data with the event, follow the schema for extending the event data object.

    To send a custom event, follow the schema for modelling the custom event data object.

  • If your organization is not using the Engage SDK to integrate, follow the schema for modelling the event data object.

    To send additional, custom data with the event, follow the schema for extending the event data object.

    To send a custom event, follow the schema for modelling the custom event data object.

Do you have some feedback for us?

If you have suggestions for improving this article,

Privacy policySitecore Trust CenterCopyright © 1999-2025 Sitecore