Content Based Recommendation Engine in AEM

Relevant recommendations on a website can improve customer's experience and also improve the retention rate, as showing similar articles to the current one would keep customers engaged.

AEM has great capabilities but there is no direct way to generate recommendations directly within AEM without using a 3rd party recommendation engine or personalization tool. A recommendation engine can enhance the user experience by providing recommendations based on the data already available within the AEM system, these recommendations can range from a similar page recommendation on a blog to a product recommendation in case of an ecommerce website.

The AEM Recommendation generator is a content based recommendation engine which reads the metadata from pages and finds the similar pages to generate the recommendations, this tool leverages Apache Commons Math 3 library which is a lightweight library for performing statistical & mathematical calculations for generating the content based recommendations.