This section describes the process by which Oracle Recommendations data is rendered when a customer accesses a Commerce Reference Store page.

Commerce Reference Store uses the ADC processor pipeline to insert Oracle Recommendations code in site pages. The ADC processor pipeline inserts in all Commerce Reference Store pages:

In addition, on top-level category pages and product detail pages, the Commerce Reference Store JSP code inserts a container <div> element that specifies information about the recommendations to be included.

When a page loads, the call to the JavaScript library is executed. A request is sent to Oracle Recommendations that includes the clickstream information and, if there is a container <div>, also includes the information in the <div>. If there is a container <div>, Oracle Recommendations returns a response containing the recommendations, which are passed to the specified renderer. The renderer is JavaScript code that modifies the HTML on the page to display the recommendations.