Posts

Implementing Personalization with Page Variants in Sitecore XM Cloud

Image
  In my previous blog , I discussed the personalization features in Sitecore XM Cloud . In today’s post, we'll explore how to implement personalization using page variants in XM Cloud. To deliver personalized content to your visitors in Sitecore XM Cloud, you'll need to create a page variant for a specific audience. The original (default) content of a page is stored in its default variant , while each additional variant is tailored to meet the unique needs and preferences of different audience segments. Only users who match the defined audience conditions will see the personalized variant. In each page variant, you can: Assign different content to a component Replace a component with another one Hide a component for a specific audience How to Page Variant creation Step 1- In the Page Builder editor, select the page you want to personalize and click on the "Personalize" tab at the top. Step 2-   In the Personalize tab, you'll see the Default variant ...

Personalization in Sitecore XM Cloud: A Comparative Insight

Image
Personalization in Sitecore is one of its most powerful and important features, enabling brands to deliver personalized digital experiences to end users and ensure the right content reaches the right contacts. Sitecore XP includes built-in personalization capabilities. In recent years, the approach has shifted toward headless solutions , which offer greater flexibility, omni-channel delivery, and seamless integration with other digital systems. As a result, Sitecore XM Cloud has emerged as the next logical step for delivering modern digital experiences. However, when transitioning from Sitecore XP to XM Cloud, customers will notice some significant changes—especially in personalization features. In this blog post, I’ll discuss the embedded personalization feature in XM Cloud , how it differs from Sitecore XP personalization, and its strengths and limitations. XM Cloud Embedded Personalization XM Cloud Embedded Personalization is a built-in feature that offers out-of-the-box persona...

My Sitecore Contribution 2024

Image
As we approach the end of 2024, it’s time for Sitecore’s MVP nomination season, marking the opportunity to aim for the prestigious Sitecore 2025 MVP title. In this blog post, I’d like to reflect on my contributions and achievements within the Sitecore community since November 2024. Let’s take a closer look at my Sitecore contributions for 2024: Sitecore blogs: 29th November -  Some useful PowerShell scripts for a Sitecore developer 20th November -   Create your first SXA Custom Components in Sitecore XM Cloud Using Next.Js 4th November -   What’s New in Sitecore XM Cloud 25th October -   Exploring XM Cloud Component Builder: Show Dynamic Content 23rd October -   Exploring XM Cloud Component Builder: Create Versions 30th September -   Exploring XM Cloud Component Builder: Add Styling To Your Component Part 3 28th September -   Exploring XM Cloud Component Builder: Add Styling To Your Component Part 2 26th September -   Exploring XM Cloud Component ...

Some useful PowerShell scripts for a Sitecore developer

Image
Recently, I had the opportunity to work on a data migration project in Sitecore 10, where we migrated data from a custom application into Sitecore. For this project, I utilized the Sitecore PowerShell module, which, combined with some effective PowerShell scripts, enabled a seamless data migration process. In addition to the migration, there were other requirements, such as removing unused media files, cleaning up user accounts, and managing content. I researched solutions for these tasks and found several useful scripts from various sources. To help the community, I’ve consolidated these scripts and shared them on GitHub for reference. I hope they prove helpful to fellow Sitecore developers. As Sitecore instances grow larger, maintaining them becomes increasingly challenging, highlighting the importance of scripting tools to perform bulk operations on Sitecore items efficiently. Below is a collection of scripts designed for bulk activities and data migration from other databases. Coll...

Create your first SXA Custom Components in Sitecore XM Cloud Using Next.Js

Image
XM Cloud comes preloaded with basic components for text, images, page content, and more. In my previous blogs, I covered how to create and manage components in XM Cloud using the Component Builder. In this post, I’ll provide a step-by-step guide to building custom components in Next.js within the XM Cloud environment. Why Custom Components Matter Developing custom components is a standard approach to creating unique elements that enhance your pages' design, functionality, and user experience. Step 1: Creating a New Headless Module To create a custom component in Sitecore XM Cloud, you first need to set up a Headless Module. Here's how: Navigate to Settings -> Project -> [Site Name] in XM Cloud. Right-click your project, select Insert , and then click Headless Module . In the popup window, choose a name for the module (e.g., Custom Component ) and assign it to a folder. For this tutorial, we created a "Tutorial Site" folder under Feature to store our custom mod...

What’s New in Sitecore XM Cloud

Image
  In the September 2024 release for XM Cloud, Sitecore introduced a range of exciting features designed to simplify website management, making it easier for teams to collaborate within a single, centralized application. This update includes enhanced tools for managing site collections, creating new websites, setting site configurations, handling languages, editing hosts, and other features tailored for large-scale, multi-site environments. Let’s take a closer look at each feature. Site Collections - Simplified Creation and Management One of the key updates in the September release is the enhanced ability to create and manage Site Collections. Site collections provide a structured way to organize sites, allowing content and templates to be shared seamlessly across sites within a collection. With XM Cloud Sites, you can now create new site collections by providing a Display Name and a System or Item Name, ensuring stable, technical references. Site Collections help group sites in a w...