Skip to main content
Sitecore Documentation
  • Learn
  • Downloads
  • Changelog
  • Roadmap
PersonalizeCloud Portal
Sitecore Personalize
    • View site analytics
    • Using IDs in Sitecore Personalize
  • Using client-side JavaScript
  • Glossary
  1. Introduction to Sitecore Personalize
  1. Sitecore Personalize
  2. Introduction to Sitecore Personalize
  3. Using IDs in Sitecore Personalize

Using IDs in Sitecore Personalize

When you create an experience, experiment, goal, or template, Sitecore Personalize automatically creates an ID when you name the entity.

If you are creating an experiment, this unique ID enables technical team members to programmatically execute the experiment.

If the name you enter for the ID belongs to another live or deleted entity, Sitecore Personalize appends a numeral to the name of the ID. After you delete an entity, its ID is also deleted and can’t be reused with new entities. This is to ensure referential integrity.

For example, if your organization previously deleted an experiment with the ID ancillary_upsell, Sitecore Personalize automatically saves the ID as ancillary_upsell_1.

Naming an entity and automatic generation of a unique ID in Sitecore Personalize.

In some organizations, there might be several variations of the ancillary_upsell experiment. These could each vary according to page targeting, real-time audiences, or other conditions that must be met in order for the experiment to run. Each variation of the experiment is automatically assigned a unique ID to ensure the correct experiment is called.

Warning

IDs aren't editable after you click the Create button. You can only edit the name of the ID before creating. When editing, use a-z, 0-9, and underscores for spaces.

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