Recommendations SDK
The Unbxd React Recommendations SDK provides hooks and utilities to integrate personalized product recommendations into your e-commerce React applications. Whether you need product recommendations on the homepage, category pages, product detail pages, or in cart, this SDK simplifies the integration process.
Overview
The Recommendations SDK enables you to:
- Display Personalized Recommendations: Show relevant products based on user behavior, page context, and browsing history
- Widget-Based System: Utilize pre-configured recommendation widgets or create custom recommendation experiences
- Real-Time Updates: Automatically fetch and display recommendations based on page context and user interactions
- Flexible Integration: Use hooks to build custom UI components or integrate with existing components
Packages
The Recommendations SDK consists of two main packages:
| Package Name | Purpose | Use Case | Link |
|---|---|---|---|
@unbxd-ui/react-recs-hooks | Core hooks for recommendation logic | Custom implementations, headless integrations | https://www.npmjs.com/package/@unbxd-ui/react-search-hooks (opens in a new tab) |
@unbxd-ui/react-recs-components | Pre-built UI components | Quick setup, standard designs | https://www.npmjs.com/package/@unbxd-ui/react-search-components (opens in a new tab) |
Key Features
The Recommendations SDK includes essential features for product recommendations:
- Widget-Based Recommendations: Support for multiple recommendation widgets from a single API call
- Context-Aware: Recommendations adapt based on page type (HOME, PRODUCT, CATEGORY, CART)
- Real-Time Fetching: Automatically fetch recommendations when context changes
- Customizable: Full control over how recommendations are displayed
- React Hooks: Simple hooks for integrating recommendations into any React component
- Event Tracking: Built-in support for tracking recommendation interactions
What You Can Expect
Our documentation offers:
- Interactive Examples: See recommendations in action with code samples
- Comprehensive API Reference: Detailed documentation for every hook and utility
- Best Practices: Guidelines for effective recommendation integration
- Customization Guides: Learn how to build custom recommendation components
Explore the documentation, try the examples, and build with confidence!
Conclusion
The Recommendations SDK empowers developers with tools for creating personalized shopping experiences. With comprehensive hooks, flexible APIs, and detailed documentation, it's designed to seamlessly integrate product recommendations into your e-commerce platform. Get started today and deliver exceptional personalized shopping experiences!