---
title: "Sending events using the Engage SDK"
slug: "sending-events-using-the-engage-sdk"
abstract: "Describes collecting and sending behavioral data to Sitecore CDP from the client and from the server."
---
# Sending events using the Engage SDK

Using the Engage SDK, you can collect and send behavioral data to Sitecore CDP in real time. The behavioral data includes, for example, the user's page views, clicks, searches, and identifiers as they register or log in.

To collect and send behavioral data in real time, you send events to Sitecore CDP using either client-side tracking or [server-side tracking](https://doc.sitecore.com/cdp/en/developers/api/integrating-with-sitecore-cdp/understanding-integration-details/server-side-tracking-with-the-engage-sdk-package.html "Server-side tracking with the Engage SDK package"). Using the Engage SDK script, you can implement client-side tracking. Using the Engage SDK package, you can implement both client-side tracking and server-side tracking.

You can send the following events:

- [VIEW event](https://doc.sitecore.com/cdp/en/developers/api/stream-api/sitecore-engage-sdk-reference/objects/event-data-object/view-event.html "VIEW event") using the `[Engage.pageView()](../../stream-api/sitecore-engage-sdk-reference/functions/engage-pageview.md "Engage.pageView(eventData[, extensionData])")` function (client-side tracking) or the `[EngageServer.pageView()](../../stream-api/sitecore-engage-sdk-reference/functions/engageserver-pageview.md "EngageServer.pageView(eventData, req[, extensionData])")` function (server-side tracking).

    The VIEW event captures the user's action of viewing a page in your app.

- [IDENTITY event](https://doc.sitecore.com/cdp/en/developers/api/stream-api/sitecore-engage-sdk-reference/objects/event-data-object/identity-event.html "IDENTITY event") using the `[Engage.identity()](../../stream-api/sitecore-engage-sdk-reference/functions/engage-identity.md "Engage.identity(eventData[, extensionData])")` function (client-side tracking) or the `[EngageServer.identity()](../../stream-api/sitecore-engage-sdk-reference/functions/engageserver-identity.md "EngageServer.identity(eventData, req[, extensionData])")` function (server-side tracking).

    The IDENTITY event can capture, for example, names, email addresses, and phone numbers.

- [Custom event](https://doc.sitecore.com/cdp/en/developers/api/stream-api/sitecore-engage-sdk-reference/objects/event-data-object/custom-event.html "Custom event") using the `[Engage.event()](../../stream-api/sitecore-engage-sdk-reference/functions/engage-event.md "Engage.event(type, eventData[, extensionData])")` function (client-side tracking) or the `[EngageServer.event()](../../stream-api/sitecore-engage-sdk-reference/functions/engageserver-event.md "EngageServer.event(type, eventData, req[, extensionData])")` function (server-side tracking).

    You can use custom events to capture any behavior of your choice, for example, clicks and searches.

To collect and send transactional data about a user's cart activity and orders, see [sending orders](https://doc.sitecore.com/cdp/en/developers/api/integrating-with-sitecore-cdp/understanding-integration-details/sending-orders-using-the-engage-sdk.html "Sending orders using the Engage SDK").