Skip to main content
Sitecore Documentation
  • Learn
  • Downloads
  • Changelog
  • Roadmap
XP
Sitecore Experience Platform
  • Sitecore Experience Platform
                • The AddCustomValues method
                • The DefinitionId method
                • The ItemId method
                • The EngagementValue method
                • The ParentEventId method
                • The Text method
                • The Timestamp method
                • The Duration method
                • The DeviceIdentifier method
        • Resource management
  • Machine Learning
  1. Configuring base event requests
  1. Sitecore Experience Platform
  2. Universal Tracker
  3. Universal Tracker SDK
  4. Track events operations
  5. Configuring base event requests
  6. The ItemId method

The ItemId method

Version:

To define the item ID value of the event, use the ItemId() method.

Property

Details

UT SDK method

ItemId(string)

Required/optional

Optional

Multiple invocations

Multiple invocations are forbidden and cause an InvalidOperationException exception

Value validation

Must contain a proper item ID value

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