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
  • Integrating with Sitecore CDP
  • Understanding integration details
  • Sending orders using the Engage SDK

Sending orders using the Engage SDK

Using the Engage SDK, you can collect and send transactional data to Sitecore CDP in real time.

You collect and send transactional data in the same way as you collect and send behavioral data, using either client-side tracking or server-side tracking. 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.

The transactional data includes orders that the user makes as they interact with your app.

You can send an order to Sitecore CDP in real time using either a single event or multiple events.

Sending orders using a single event

Use this option if your organization's site is tagged to send all order-related data from the confirmation page. You can also use this option if your organization uses an order management system (OMS), or if your organization uses cookies and local storage to capture order details.

To send an order to Sitecore CDP in real time using a single event, you must use the Engage.event() function (client-side tracking) or the EngageServer.event() function (server-side tracking) to send an ORDER_CHECKOUT event.

Important

To use the flight data model, assemble orders using multiple events instead of sending an ORDER_CHECKOUT event.

Sending orders using multiple events

Use this option if the booking flow for your organization's site does not facilitate sending all order-related data from the confirmation page. This way, you can send individual events related to orders when, for example, a user adds a product to their shopping cart, makes a purchase, or empties their shopping cart.

To send an order to Sitecore CDP in real time using multiple events, you must use the Engage.event() function (client-side tracking) or the EngageServer.event() function (server-side tracking) to send the following events in this sequence:

  1. ADD event - to capture the product details when a user adds a product to their cart.

  2. CONFIRM event - to capture a list of products that are in the cart before the payment is made.

  3. One of the following:

    • CHECKOUT event - to capture a user's action of completing a purchase.

      • Optionally, after a CHECKOUT event, a PAYMENT event - to capture the user's payment method.

    • CLEAR_CART event - to capture the user's action of emptying their cart.

See all options for sending orders to Sitecore CDP.

Do you have some feedback for us?

If you have suggestions for improving this article,

Privacy policySitecore Trust CenterCopyright © 1999-2025 Sitecore