You can get recommendation data in SDK in three different methods:
- Get Smart Recommendation (getSmartRecommendationWithID)
- Get Smart Recommendation with Product (getSmartRecommendationWithProduct)
- Get Recommendation with Product IDs (getSmartRecommendationWithProductIDs)
These methods have different use cases and recommendation strategies.
For example, if you see the same products for Purchased Together and other advanced algorithms, you might have integrated the Get Smart Recommendation (getSmartRecommendationwithID) method. In this case, advanced algorithms will not work correctly and the fallback algorithms will work instead.
Check which algorithms are compatible with each method based on your use cases. Refer to Android, iOS, React Native, Flutter, and Cordova pages for further details.