HomeDev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunityDoc feedbackLog In
GitHubNuGetDev CommunityDoc feedback

If the Optimizely Product Recommendations product was enabled for the current page, you can request that additional product attributes (such as star ratings) are supplied in the `smartRecs` callback.

(Script tags will be stripped)

For example, on a product page tracking request, to show all attributes for the recommended products, send the following.

If you want the callback to contain only the attribute "starrating", for each recommended product, send the following.