Please use our most recent SDK
The SDK in this section is meant for advanced integrations. Please refer to our commercial SDK here.
Module Installation
The Installing the Integrations Module section provides instructions on generating the SDK configuration script via the Admin Dashboard.
XRecommend Documentation
Product Catalog Mapping: Guidelines on aligning your product catalog with XGEN's system.
Prediction Functions: Methods like
getXGenPrediction
andgetXGenPredictions
for fetching recommendations.Context Management: Functions such as
setContext
andclearContext
to manage contextual data.Product Exclusion: Methods like
excludeProducts
andclearExcludedProducts
to filter out specific products.Product Detail Page (PDP) Settings: Utilizing
setPDPProduct
for PDP configurations.Recently Viewed Products: Accessing
getRecentlyViewed
to retrieve a list of recently viewed items.
XSearch Documentation
Search Functionality: Implementing search features using
search
andgetTypeToSearch
.TypeAhead Methods: Employing
typeToSearch
and related methods for predictive search inputs.Search Context: Managing search contexts with
typeToSearchContext
.Search History: Tracking user search histories.
Triggers and Contextual Pages: Setting up triggers and managing contextual pages for dynamic search experiences.
Exclusion and PDP Product Settings: Methods like
exclude
andpdpProduct
for refining search results.On-Page Match Detection: Utilizing
onPageMatched
to identify and respond to specific page contexts.
Event Stream Tracking
Product Tracking: Functions such as
trackPDP
,trackProductView
,trackProductAdd
, andtrackPurchase
to monitor user interactions.Category and Competition Tracking: Methods like
trackCategoryView
andtrackCompetitionElement
for broader analytics.