Skip to main content
This page documents an earlier version of the API client. For the latest version, see Retrieve the personalization strategy.
Required ACL: settings

Examples

var strategy = client.GetPersonalizationStrategy();

// Asynchronous
var strategy = await client.GetPersonalizationStrategyAsync();

Parameters

requestOptions
object
A mapping of request options to send along with the request.

Response

eventsScoring
object[]
Score associated to each event.Example:
JSON
{
  "eventsScoring": [
    {
      "eventName": "purchase"
      "eventType": "conversion"
      "score": 100
    }
  ]
}
facetsScoring
object[]
Score associated to each facet.
JSON
{
  "facetsScoring": [
    {
      "facetName": "brand",
      "score": 100
    }
  ]
}

Response as JSON

This section shows the JSON response returned by the API. Each API client wraps this response in language-specific objects, so the structure may vary. To view the response, use the getLogs method. Don’t rely on the order of properties—JSON objects don’t preserve key order.
JSON
{
  "eventsScoring": [
    {
      "eventName": "purchase"
      "eventType": "conversion"
      "score": 100
    }
  ],
  "facetsScoring": [
    {
      "facetName": "brand",
      "score": 100
    }
  ]
}
I