About Product Recommendations (PR)
About Product Recommendations (PR)
Coveo Machine Learning (Coveo ML) Product Recommendation (PR) models take advantage of Coveo Usage Analytics (Coveo UA) to suggest relevant products to end users based on their past and present interactions with your Coveo-powered commerce implementation.
Coveo ML PR enhances the user experience by offering products that suit their profile, context, and buying behaviors. To provide relevant suggestions, the model continuously learns from your end users' feedback by scoping their buyer profile and analyzing their positive and negative interactions with different products. Thanks to its multiple algorithms, Coveo ML PR can easily adapt its approach to your digital commerce strategy.
Depending on your context, you can leverage one or more of the available PR strategies.
This article describes the prerequisites needed to create and deploy Coveo ML PR in a Coveo for Commerce interface.
Prerequisites
Coveo Machine Learning (Coveo ML) Product Recommendation (PR) models use usage analytics (UA) events to relevantly target and suggest products to your visitors. Therefore, you must log commerce events to ensure that your commerce interfaces correctly track user interactions. More specifically, you must log the following event types:
-
Product views
-
Purchase events
-
Cart events (add/remove)
-
Click events
|
|
Create the PR model
Once you ensured that your ecommerce storefronts track the proper usage analytics events, you can create a PR model.
Configure learning filters
When using PR models for a Coveo for Commerce organization, you must configure learning filters to ensure that the model only uses the data that’s relevant to the website on which it’s deployed.
To configure learning filters:
-
Once you’ve created your model, access the Models
(platform-ca
| platform-eu
| platform-au
) page.
-
Click the desired model, and then click More > Edit JSON in the Action bar.
-
In Edit a Model JSON Configuration, add the following
commonFilter
object:"commonFilter": "(c_context_website=@'<TRACKING-ID>')"
Where you replace
<TRACKING-ID>
with the tracking ID (registered as properties in your Coveo organization) defined for the website on which you want to use the model. -
Click Save.
If you have a model that you want to use on a website for which the registered tracking ID is barca_sports_us
, your JSON configuration should look like this:
{
"modelDisplayName": "Barca Sports US - PR",
"exportPeriod": "P3M",
"intervalTime": 1,
"intervalUnit": "WEEK",
"commonFilter": "(c_context_website=@'barca_sports_us')",
"exportOffset": "PT0S",
"extraConfig": {}
}
Associate the PR model with a query pipeline
Once your model has been created, you must associate your model with a query pipeline and select an appropriate strategy.
What’s next?
Once your model is associated with a query pipeline, you can then build recommendation interfaces to query the model and display the recommendations in your commerce storefronts.