Skip to main content
Sitecore Documentation
  • Learn
  • Downloads
  • Changelog
  • Roadmap
PersonalizeCloud Portal
Sitecore Personalize developer documentation
  • Developing with Sitecore Personalize
            • Settings object
                • VIEW event
                • IDENTITY event
                • ORDER_CHECKOUT event
                • ADD event
                • CONFIRM event
                • CHECKOUT event
                • PAYMENT event
                • CLEAR_CART event
                • SEARCH event
                • Custom event
            • Extension data object
            • Personalization data object
        • Troubleshooting
        • Release notes
  1. Event data object
  1. Sitecore Personalize developer documentation
  2. Stream API

IDENTITY event

The event data object for an IDENTITY event must include all the required attributes for event data objects plus the following attributes:

  • Attribute: Type
  • identifiers: array of objects

The identifiers array of objects:

AttributeTypeDescriptionExampleRequired/optional
idstringThe unique guest identifier provided by your organization's identity system, such as a Customer Relationship Management (CRM) system."123456"Required
providerstringThe name of your organization's identity system, external to Sitecore Personalize, that provided the unique guest identifier."BXLP"Required
expiryDatestring (ISO 8601)The date the unique guest identifier expires. This is determined by your organization's identity system."2026-04-15T08:39
.868Z"
Optional

The object can optionally include personally identifiable information (PII):

AttributeTypeDescriptionExample
emailstring (lowercase recommended)The email address of the guest."[email protected]"
titlestring (title case)The title of the guest.
  • "Miss"
  • "Mr"
  • "Mrs"
  • "Ms"
firstNamestring (title case recommended)The first name of the guest."Jane"
lastNamestring (title case recommended)The last name of the guest."Doe"
genderstringThe gender of the guest."female"
dobstring (ISO 8601)The date of birth of the guest."1983-04-15T00:00"
mobilestringThe mobile number of the guest."+3531234567"
phonestringThe phone number of the guest."+3531234567"
streetarray of strings (title case recommended)The street address of the guest.["Tara Street"]
citystring (title case recommended)The city address of the guest."Dublin"
statestring (title case recommended)The state address of the guest."Oregon"
countrystring (uppercase ISO 3166-1 alpha-2)The country address of the guest."IE"
postalCodestringThe postal code of the guest."D2"

After you create this event data object, you can optionally extend this event using the extension data object. Then, you can send the event using the [Engage.identity()](engage-identity.md "Engage.identity(eventData[, extensionData])") function.

Here's an example of the event data object for an IDENTITY event. This event data object contains the identifiers array of objects and the following, optional PII attributes: email, firstName, lastName.

const eventData = {
    channel: "WEB",
    currency: "EUR",
    pointOfSale: "myretailsite/ireland",
    language: "EN",
    page: "home",
    email: "[email protected]",
    firstName: "Jane",
    lastName: "Doe",
    identifiers: [
        {
            id: "123456",
            provider: "BXLP"
        }
    ]
}
If you have suggestions for improving this article, let us know!

Documentation Assistant

This assistant uses AI to generate responses based on Sitecore documentation. While it has access to official sources, answers may be incomplete or inaccurate and should not be considered official advice or support.
Powered by
k
kapa.ai
Protected by reCAPTCHA

© Copyright 2026, Sitecore A/S or a Sitecore affiliated company.
All rights reserved.

Privacy policySitecore Trust CenterTerms of use