Bridging Sitecore Search and OrderCloud in Next.js
A Centralized, Reusable Architecture Why This Matters When working with Sitecore Search (Discover) and OrderCloud, one problem always shows up: They don’t naturally talk to each other. But neither understands the other. The result:Disconnected experiences, duplicate logic, and fragile integrations. The Core Problem To deliver a real commerce experience: Sitecore Search needs: OrderCloud needs: The…
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…
