Follow the steps in the Render Experiences diagram to ensure that all necessary tasks needed to render experiences are executed in the correct sequence.
If you have enabled Automatic Page Load Request during the Configure Automatic Page Load Request step in Initialize SDKS , you can skip this activity unless you want to call the Adobe Target SDK to render additional experiences using a regional-location request.
Click the images in this topic to expand to full screen.
Automatic out-of-the-box flicker handling available with at.js makes sense only when you have Automatic Page Load Request enabled. This option hides the entire HTML body while fetching the experiences from Target. In this case, it is your responsibility to handle flicker. Search for implementation patterns available for flicker handling for guidance.
The step numbers in the following illustration correspond to the sections below. The step numbers are in no particular order and do not reflect the order of steps taken in the Target UI while creating the activity.
Click the following links to navigate to the desired sections:
Add promoted items and control their placement in your recommendations design by choosing Front or Back promotions in the Target UI while creating the activity.
Available options
Entity parameters required
Readings
Return to the diagram at the top of this page.
Make recommendations based on the user’s cart contents.
Available criteria
Entity parameters required
Readings
Return to the diagram at the top of this page.
Make recommendations based on the overall popularity of an item across your site or based on the popularity of items within a visitor’s favorite or most-viewed category, brand, genre, and so forth.
Available criteria
Entity parameters required
entity.categoryId
or the item attribute for popularity based if the criteria is based on the current or the item attribute.Readings
Return to the diagram at the top of this page.
Make recommendations based on finding similar items to an item that the user is viewing or has recently viewed.
Available criteria
Entity parameters required
entity.id
Readings
Return to the diagram at the top of this page.
Make recommendations based on the user’s behavior.
Available criteria
Entity parameters required
entity.id
Readings
Return to the diagram at the top of this page.
Make recommendations based on a custom file that you upload.
Available criteria
Entity parameters required
entity.id
or the attribute used as a key for the custom algorithm
Readings
Return to the diagram at the top of this page.
Return to the diagram at the top of this page.
Pass entity IDs for entities that you want to exclude from your recommendations. For example, you can exclude items that are already in the shopping cart.
Return to the diagram at the top of this page.
Readings
You can also accomplish this step by creating product feeds using the Target UI to update the product catalog for Recommendations.
Return to the diagram at the top of this page.
Provide the profile attributes that are used as keys for inclusion rules in any Recommendations criteria mentioned above.
Return to the diagram at the top of this page.
This step triggers a Delivery API call with execute
> pageLoad
payload in the request. The getOffers()
method fetches the experience and applyOffers()
renders the experience on the page. The pageLoad
request is needed for rendering experiences authored in the Visual Experience Composer (VEC).
Prerequisites
targetPageParams
function.Readings
Actions
getOffers
and applyOffers
methods to fetch the experience using a Page Load Request API call.Return to the diagram at the top of this page.
This step triggers a Delivery API call with execute
> mboxes
payload in its request. The getOffers
method fetches the experience and applyOffers
renders the experience to the page. You can send more than one mbox under the execute
> mboxes
payload.
Prerequisites
targetPageParams
function.Readings
Actions
getOffers
and applyOffers
methods to fetch the experience using a Page Load Request API call.Return to the diagram at the top of this page.
Proceed to Step 4: Notify Target.