AEM custom recommendations | Community
Skip to main content
September 13, 2022
Solved

AEM custom recommendations

  • September 13, 2022
  • 1 reply
  • 805 views

Anyone has implemented custom recommendation based on tags or clicks of any component.

Like If there article pages , what to show some recommended article based on the user clicks or interest.

 

We have adobe target but not looking for target as source, wanted to build in-house recommendations .

 

Any suggestions, much appreciated. 

 

Thanks,

Tulasi.

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Saravanan_Dharmaraj

I would suggest following option

1. Create a sling servlet which accepts clicked tags IDs as parameters or suffix parameters and return the list of related links as JSON response. You can write the logic of identifying the related links based on tags clicked by the user in servlet.

  Servlet output can be cached in dispatcher. 

2. Make the XHR call(Servlet) for the clicked tags from the component and retrieve the JSON response and populate the div with list of links

 

1 reply

Saravanan_Dharmaraj
Community Advisor
Saravanan_DharmarajCommunity AdvisorAccepted solution
Community Advisor
September 13, 2022

I would suggest following option

1. Create a sling servlet which accepts clicked tags IDs as parameters or suffix parameters and return the list of related links as JSON response. You can write the logic of identifying the related links based on tags clicked by the user in servlet.

  Servlet output can be cached in dispatcher. 

2. Make the XHR call(Servlet) for the clicked tags from the component and retrieve the JSON response and populate the div with list of links

 

September 13, 2022

Thanks a lot for the response. I was not sure how to record all the clicks and generate the data on basis  of the clicks. But your response helps me to move the needle.

 

Thanks again!!

 

Thanks,

Tulasi.