Executing the Oracle Recommendations JavaScript Call

When the atgsvcs.js script executes (after the HTML page loads) and sends the information in the clickstream code to Oracle Recommendations, it also sends the information from the container <div> about the product recommendations to be returned. Oracle Recommendations returns a response containing data about the products to display, and executes renderer JavaScript code that manipulates the DOM of the page to alter the HTML to display the recommendations. For example, the following is a portion of the HTML created by the JavaScript renderer to create the Recommended Items display: