This guide is designed for web developers who want to confidently integrate XGen's powerful tools into ecommerce websites and applications. You can learn about our three core services: XSearch, XRecommend, and Tracking.
XGenClient
XGenClient
is your gateway to all XGEN services. It wraps requests, handles authentication, and gives you access to modules like:
xg.recommend
(XRecommend)xg.search
(XSearch)xg.track
(behavioral event tracking)
SDK Installation
The Installation section provides instructions on generating the SDK configuration script via the Admin Dashboard.
Services
XRecommend Service
The XRecommend service lets you fetch AI-driven product recommendations either for multiple slots at once or for a single slot, using context and merchandising rules to tailor results for each shopper.
XSearch Service
The XSearch service provides four main capabilities: you can run a standard search query to retrieve results with full control over pagination, sorting, and filters; pull all possible property values for a collection to power facets and filter menus; load results for a specific product category; and view trending search terms to understand what shoppers are looking for most.
Tracking Service
The Tracking service lets you capture shopper interactions across your site, including page views, product views, category visits, add-to-cart actions, purchases, element impressions, clicks, and search activity, as well as custom events, so you can measure engagement, optimize experiences, and feed behavioral data back into XGEN’s AI models.
To learn more about our API Documentation, please go here.