renderDecisions

The renderDecisions property allows you to force the Web SDK to render any personalized content that is eligible for automatic rendering.

Render personalized content using the Web SDK tag extension

Select the Render visual personalization decisions checkbox within the actions of a tag rule.

  1. Log in to experience.adobe.com using your Adobe ID credentials.
  2. Navigate to Data Collection > Tags.
  3. Select the desired tag property.
  4. Navigate to Rules, then select the desired rule.
  5. Under Actions, select an existing action or create an action.
  6. Set the Extension dropdown field to Adobe Experience Platform Web SDK, and set the Action Type to Send event.
  7. Scroll down to the Personalization section, then select the Render visual personalization decisions checkbox.
  8. Click Keep Changes, then run your publishing workflow.

Render personalized content using the Web SDK JavaScript library

Set the renderDecisions boolean when running the sendEvent command. If omitted, this property defaults to false. Set this property to true if you want to automatically render personalized content.

IMPORTANT
The renderDecisions property is incompatible with the documentUnloading property. You should not set both properties to true simultaneously.
alloy("sendEvent", {
  "xdm": adobeDataLayer.getState(reference),
  "renderDecisions": true
});
recommendation-more-help
ad108910-6329-42f1-aa1d-5920a2b13636