Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      CodeSOD: A Unique Way to Primary Key

      July 22, 2025

      BrowserStack launches Figma plugin for detecting accessibility issues in design phase

      July 22, 2025

      Parasoft brings agentic AI to service virtualization in latest release

      July 22, 2025

      Node.js vs. Python for Backend: 7 Reasons C-Level Leaders Choose Node.js Talent

      July 21, 2025

      The best CRM software with email marketing in 2025: Expert tested and reviewed

      July 22, 2025

      This multi-port car charger can power 4 gadgets at once – and it’s surprisingly cheap

      July 22, 2025

      I’m a wearables editor and here are the 7 Pixel Watch 4 rumors I’m most curious about

      July 22, 2025

      8 ways I quickly leveled up my Linux skills – and you can too

      July 22, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      The Intersection of Agile and Accessibility – A Series on Designing for Everyone

      July 22, 2025
      Recent

      The Intersection of Agile and Accessibility – A Series on Designing for Everyone

      July 22, 2025

      Zero Trust & Cybersecurity Mesh: Your Org’s Survival Guide

      July 22, 2025

      Execute Ping Commands and Get Back Structured Data in PHP

      July 22, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

      July 22, 2025
      Recent

      A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

      July 22, 2025

      “I don’t think I changed his mind” — NVIDIA CEO comments on H20 AI GPU sales resuming in China following a meeting with President Trump

      July 22, 2025

      Galaxy Z Fold 7 review: Six years later — Samsung finally cracks the foldable code

      July 22, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»Getting Started with Personalization in Sitecore XM Cloud: Enable, Extend, and Execute

    Getting Started with Personalization in Sitecore XM Cloud: Enable, Extend, and Execute

    May 20, 2025

     

    In my previous blog – Personalization in Sitecore XM Cloud: What’s New, What’s Different, and What It’s Built On!, I explored what makes personalization in Sitecore XM Cloud so powerful – from its cloud-native infrastructure and headless architecture to the built-in rule-based targeting engine. Now, I’m shifting from concepts to implementation. In this post, I’ll walk you through how to enable personalization using analytics identifiers that track and categorize visitor behavior in real time. Then, I’ll show how to use Page Builder to create audience-specific page variants, and personalize components – all with a few clicks, not code.

    In Sitecore XM Cloud, personalization happens primarily at the page level. The process revolves around creating page variants and personalizing components. This functionality is fully integrated into Page Builder, allowing you to define variations of the page based on different personalization criteria.

    Key Points:

    • Personalization is configured directly within Page Builder on a per-page basis.
    • You can create page variants – each tailored to specific audiences or conditions.
      • Individual components on the page can be personalized : swapped, hidden and can be edited to show different content
    • All of this is managed via the Personalize tab available on the page within Page Builder.

    How to Check if Personalization is Enabled:

    To determine whether personalization is set up:

    • Go to the Page Builder for the desired page.
    • Click on the Personalize tab.

    Personalization Notenabled

     

    If personalization is not enabled, you will see :

    • No variant options available.
    • A prompt or empty state indicating no personalization rules are define.

     

    Personalization Enabled

    If personalization is enabled, you’ll see:

    • Variants listed based on configured rules.
    • Options to add/edit rules and personalize individual components.

     

     

    Adding Analytics Identifiers to Enable Personalization

    Analytics identifiers are essential for enabling personalization in Sitecore XM Cloud. They help track visitors, manage sessions, and unify data across sites for a complete view of user behavior. Without them, personalization rules and targeted content delivery won’t function. Assigning the same identifier to multiple sites allows for consolidated analytics, providing a holistic view of user engagement across different sites.

    Step 1: Access Site Settings

    1. Navigate to the XM Cloud Portal: Log in to your XM Cloud environment.
    2. Open the Sites Dashboard: In the top navigation bar, click on Sites to view all your sites.
    3. Select the Desired Site: Locate the site you wish to configure. Click on the Actions menu (three dots) associated with that site and select Settings.
    4. Select the Site hosts: Browse through the options on the left side and select Site hosts option and then select the desired host

    Personalization Site Hosts

    Step 2: Add or Assign an Analytics Identifier

    1. Navigate to the Analytics and Personalization Tab: Within the site settings, click on the Analytics and Personalization tab.
    2. Add Identifier for a Language: In the list of languages associated with the site, click the plus (+) icon next to the language you want to configure

    Personalization Analytics And Personalization Tab

    Step 3: Choose Identifier Type:

      • Create a New Identifier: Select the Create new tab.
        • Name the Identifier: Provide a unique name for the analytics identifier.
        • Set Session Timeout: Define the session timeout duration (default is 30 minutes).
      • Assign an Existing Identifier: Select the Assign existing tab.
        • Select Identifier: Choose from the list of existing identifiers available in your environment.

    Personalization Add Analytics Identifier

    Let’s Personalize a Page in Sitecore XM Cloud

    1. Navigate to the Page in the Page Builder
    • From the XM Cloud portal, open your site and select the page you want to personalize.
    • Once it loads in Page Builder, you’ll see a “Personalize” tab at the top navigation bar if personalization is enabled.

    Personalize Tab

    1. Create a Page Variant
    • Click on the Personalize tab.
    • Select Create Variant.
    • Provide a name for the variant (e.g. “Every Monday Campaign”)

    Create Variant

    • Click Next to proceed to audience configuration.

    Create Audience

    1. Define the Audience for the Variant

    Available Condition Categories

     

    Click Add first condition to define who should see this variant.

    Choose from the available conditions such of different tags

     

     

    • Configure the selected condition using the provided fields.

    Condition

    • You can add multiple conditions using AND/OR logic.

    Multiple Conditions

     

     

    Personalization Options Available

     

    1. Customize the Variant
    • Once you click on Save, your variant is created and the audience is defined, you can now edit the variant.
    • On the side is a screenshot of the Page Builder that lists down all that we can do with personalization on the page.

     

     

     

     

    Personalized Component

    • You’ll see a color-coded border or indicator showing that you’re editing a personalized version.
    • Each change you make is isolated to that variant and won’t affect the default view.

     

    1. Preview the Variant
    • Use the Preview feature to see what the page will look like for the targeted audience.
    1. Publish the Variant
    • When satisfied, click Publish to activate your personalized variant.
    • Sitecore XM Cloud will now automatically show the appropriate variant to users matching the defined audience.

     

    Personalization in Sitecore XM Cloud isn’t just a feature – it’s a strategic advantage. By enabling analytics identifiers and using Page Builder to create tailored experiences, you can deliver the right content to the right audience at the right time. With this setup in place, you’re well on your way to building smarter, more engaging digital experiences.

    In the next blog, I’ll take you behind the scenes of how personalized content is actually delivered in Sitecore XM Cloud. We’ll explore the request lifecycle, how the Cloud SDK plays a role in fetching and rendering personalized variants, and the technical flow that powers real-time targeting. This deeper dive will help you understand not just what personalization looks like, but how it works under the hood.

     

    Source: Read More 

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleUniversal Design and Global Accessibility Awareness Day (GAAD)
    Next Article Community News: Latest PECL Releases (05.20.2025)

    Related Posts

    Development

    GPT-5 is Coming: Revolutionizing Software Testing

    July 22, 2025
    Development

    Win the Accessibility Game: Combining AI with Human Judgment

    July 22, 2025
    Leave A Reply Cancel Reply

    For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

    Continue Reading

    Windows 11 KB5055523 24H2 adds AI features, direct download links (.msu)

    Operating Systems

    PSA: I need people to know the ROG ‘Xbox Ally’ is Xbox by name and software experience only — It is a full Windows PC, you can install *anything* you want on it

    News & Updates

    CVE-2022-43659 – Apache HTTP Server Cross-Site Scripting

    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-32022 – Finit Urandom Heap Buffer Overwrite Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    Highlights

    CVE-2025-6937 – Code-projects Simple Pizza Ordering System SQL Injection Vulnerability

    June 30, 2025

    CVE ID : CVE-2025-6937

    Published : July 1, 2025, 1:15 a.m. | 24 minutes ago

    Description : A vulnerability was found in code-projects Simple Pizza Ordering System 1.0. It has been declared as critical. This vulnerability affects unknown code of the file /large.php. The manipulation of the argument ID leads to sql injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.

    Severity: 7.3 | HIGH

    Visit the link for more details, such as CVSS details, affected products, timeline, and more…

    Microsoft confirms Windows 11 25H2, might make Windows more stable

    June 29, 2025

    CVE-2025-22477 – Dell Storage Center Dell Storage Manager Authentication Bypass

    May 6, 2025

    CVE-2025-49794 – “Libxml2 Use-After-Free XPath Element Parsing Vulnerability”

    June 16, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.