Coveo Machine Learning Recommendation Content Types
Coveo Machine Learning (Coveo ML) Event Recommendations (ER) can discriminate between different content types when you want to include lists of recommended content for one or more specific types. You must plan and define the content types that are relevant to your content and the recommendation needs of your organization.
In your various websites, you want to add separate recommendation sections for the following content types:
products- Specific corporate website pages
downloads- Specific corporate website pages
articles- All your help site pages
courses- Main pages of your eLearning site
Recommendations are based on Coveo Usage Analytics (Coveo UA) view events that are recorded each time a page is accessed by a user. You must associate each recorded view event with the appropriate content type, for all of your tracked content.
An Event Recommendation model can then use the
contentType value to narrow its recommendations to one or more specific content types.
To take advantage of recommendation content types
Before starting the following procedure, be aware that taking advantage of recommendation content types requires developer skills.
Define appropriate content types for your organization:
Identify the various types of content that you have in your various websites.
Identify the types of content that could be useful for recommendations.
Define the names of each useful content type.
Define criteria to detect that a page is of a specific type.
On your corporate website, the path under which pages appear defines the specific content types, as shown in the following table. (All of the pages under these paths are of the specified content type, and pages under other paths wouldn’t have a content type.)
Content type Website path
contentTypevalues can be whatever you want, but you should carefully plan the values to push to meet your recommendation short and long term needs.
If you later change your mind on the content type names or want to add new ones, you will need to redo the following steps and wait for data to be recorded with the new content types before you can start to see relevant recommendations for those content types.
pageViewevents code, including appropriate
Communicate the content type names, criteria, and
pageViewscript code sample to whoever will add or edit the Coveo UA code to your websites (see Push Coveo Usage Analytics View Events).
Add or edit a Coveo ML Event recommendation model to specify a View content type filter.
Validate that the Recommendation component only returns pages of the expected content types.
If you just started pushing view events with content type values, the Recommendation component may return nothing until the Recommendation model is retrained with data that includes content type values.