Recommended Content not displaying when using 'category' specific filters

Issue

Recommended Content not displaying in web pages or landing pages when using “category” as a configuration parameter in your recommendation template code to recommend only specific content for the output in the Rich Media template.

Example code:

 
rtp("set", "rcmd", "richmedia",
    {
        "template1":
        {
            "rcmd.title.text": "RECOMMENDED CONTENT",
            "category" : ["French", "German", "Dutch"]     // Category specific filter looking for French, German and Dutch recommendations.
        }
    }
);
 

 


Solution

Issue Resolution
You would need to ensure that the content for those specific categories have been enabled for 'Web Rich Media'.

 

A guide image on where to enable a content for Web Rich Media

 

 

 

Here is an article on how to enable the content for Web Rich Media. https://docs.marketo.com/display/public/DOCS/Enable+Predictive+Content+for+Web+Rich+Media

 

Who This Solution Applies To
Content AI / Predictive Content users who customised their content AI code