HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

To generate useful recommendations, clicks on recommended content must be sent to Optimizely servers. Supply this information in an info element.

(Script tags will be stripped)

You should track the click as part of the next page tracking request to the API. For example, if a customer lands on a product page (RC456.html) by clicking on a Optimizely recommendation with a recommendation ID of 5637282 from another product page (RC123.html), include the recommendation ID that was clicked from the previous product page as shown below.

In this example, 5637282 is the ID of the clicked recommendation.

Click tracking

This topic describes configuring tracking for clicks on recommended content.

Suggested Edits are limited on API Reference Pages

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