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

      How To Prevent WordPress SQL Injection Attacks

      June 13, 2025

      Java never goes out of style: Celebrating 30 years of the language

      June 12, 2025

      OpenAI o3-pro available in the API, BrowserStack adds Playwright support for real iOS devices, and more – Daily News Digest

      June 12, 2025

      Creating The “Moving Highlight” Navigation Bar With JavaScript And CSS

      June 11, 2025

      Microsoft Copilot’s own default configuration exposed users to the first-ever “zero-click” AI attack, but there was no data breach

      June 13, 2025

      Sam Altman says “OpenAI was forced to do a lot of unnatural things” to meet the Ghibli memes demand surge

      June 13, 2025

      5 things we didn’t get from the Xbox Games Showcase, because Xbox obviously hates me personally

      June 13, 2025

      Minecraft Vibrant Visuals finally has a release date and it’s dropping with the Happy Ghasts

      June 13, 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

      QAQ-QQ-AI-QUEST

      June 13, 2025
      Recent

      QAQ-QQ-AI-QUEST

      June 13, 2025

      JS Dark Arts: Abusing prototypes and the Result type

      June 13, 2025

      Helpful Git Aliases To Maximize Developer Productivity

      June 13, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      Microsoft Copilot’s own default configuration exposed users to the first-ever “zero-click” AI attack, but there was no data breach

      June 13, 2025
      Recent

      Microsoft Copilot’s own default configuration exposed users to the first-ever “zero-click” AI attack, but there was no data breach

      June 13, 2025

      Sam Altman says “OpenAI was forced to do a lot of unnatural things” to meet the Ghibli memes demand surge

      June 13, 2025

      5 things we didn’t get from the Xbox Games Showcase, because Xbox obviously hates me personally

      June 13, 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

    Security

    Ransomware Gangs Exploit Unpatched SimpleHelp Flaws to Target Victims with Double Extortion

    June 13, 2025
    Security

    More From Our Main Blog: The Good, the Bad and the Ugly in Cybersecurity – Week 24

    June 13, 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

    CVE-2025-4026 – PHPGurukul Nipah Virus Testing Management System SQL Injection Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    Xbox is the only console that can play all mainline Final Fantasy games

    News & Updates

    CVE-2025-0324 – VAPIX Device Configuration Privilege Escalation

    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-48998 – DataEase Arbitrary File Deserialization

    Common Vulnerabilities and Exposures (CVEs)

    Highlights

    News & Updates

    Windows 7 would boot much slower if you used specific wallpapers — A veteran Microsoft engineer links the bug to a “simple programming error”

    May 6, 2025

    A veteran Microsoft engineer recently described how Windows 7 took longer to load when users…

    Rare Werewolf APT Uses Legitimate Software in Attacks on Hundreds of Russian Enterprises

    June 10, 2025

    CVE-2025-49785 – Apache HTTP Server SQL Injection

    June 11, 2025

    Cisco Warns of High-Severity SSH Security Flaws in UCS IMC and NDFC Systems

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

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