HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

If Optimizely Product Recommendations were configured by Optimizely for a page being tracked, a list of product recommendations is returned in the message.

The contents are returned in the `smartRecs` element at the root of the JSON response. The element contains product recommendations generated by the Optimizely recommendations engine. These product recommendations are grouped by widget.

The value of `smartRecs` is a list of recommendation widget elements. These elements have the following properties.

(Script tags will be stripped)

To configure output details for the recommended product in the request, use the `recContent` request parameter.

Product Recommendations response

This topic shows product recommendation reponses.

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.