Tracking Custom Click Events in Sitecore Search Using PageController
Problem If you are using Sitecore Search (formerly Discover), it automatically tracks user interactions inside its official React widgets. For example: This works perfectly out of the box. However, real-world websites often contain CMS-driven components that are outside of Sitecore Search widgets, such as: Imagine a Hero Carousel managed by content authors. A user clicks…
Client-Side API Caching with IndexedDB in Sitecore XM Cloud
In many Sitecore XM Cloud projects built with Next.js, components often call the same APIs or GraphQL queries multiple times. For example: Each time this happens, the browser sends the same request again. This leads to: In one of my projects, we noticed the same API being called repeatedly even though the data didn’t change…
Sitecore Search: Widget Rules
When building search-driven experiences in Sitecore Search (XM Cloud), it’s common to personalize or adjust results based on business logic. That’s where widget rules come into play. In this post, we’ll cover: What are Widget Rules? Rules in Sitecore Search let you shape search results without touching the underlying index. Instead of relying solely on…
