Before you deploy recommendations to your production environment, you should test on a non-production environment to ensure everything is working as expected.
When testing recommendations in a non-production environment, it is likely you will not have any behavioral data from shoppers. Therefore, the best recommendations to test are those that do not rely on any behavioral data or data that requires inputs.
The following recommendation types are listed in the recommended order when testing in a non-production environment:
- More like this - Does not require any input data. Uses a direct content similarity match.
- Most Viewed - Requires minimal input data. Testers need to view products.
- Viewed this, viewed that - Requires multiple testers to view multiple products.
- Bought this, bought that - Requires multiple testers to purchase multiple products.
Testing recommendations on a non-production environment
magento/product-recommendationsmodule to a non-production environment where the catalog data is similar to your production catalog.
Use one of the non-production SaaS Environment IDs for configuration in the Magento Admin.
The non-production SaaS Environment ID identifies an isolated environment in which the resulting product recommendations will be based entirely on the behavioral data generated on the associated storefront.
Because you will not have large amounts of behavioral data, input data for computing product associations is sparse. However, that data is still sent to Sensei to compute the machine learning models and provide recommendations based on data you generated within this environment.