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
            • Building an event request
        • Resource management
  • Machine Learning
  1. Configuring base event requests
  1. Sitecore Experience Platform
  2. Universal Tracker

The ItemId method

Version:

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

PropertyDetails
UT SDK methodItemId(string)
Required/optionalOptional
Multiple invocationsMultiple invocations are forbidden and cause an InvalidOperationException exception
Value validationMust 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