Model-based Personalization Parameters

The model-based personalization configuration is defined in the personalizationservices extension.

The configuration consists of the following elements:
  • CxConfig: the main class of personalization configuration. Thanks to the implemented one-to-many optional relation to the basesite, the configuration is basesite-aware. It allows setting one configuration for many sites.

    The following table lists the personalization parameters available in the Backoffice Administration Cockpit, along with their description. The Property in project.properties column lists the corresponding properties that can be defined in the project.properties file, if there is no configuration set in the Backoffice Administration Cockpit.

    Parameter Name

    Mandatory/Optional

    Description

    Property in project.properties

    minAffinity

    Mandatory

    A minimum affinity for the user-to-segment relation. Default value: BigDecimal.valueOf(0.5)

    personalizationservices.segment.trigger.strategy.min.affinity

    actionResultMaxRepeat

    Mandatory

    A number of retries in case of action result load error caused by optimistic locking failure. Default value: Integer.valueOf(1)

    personalizationservices.actionResult.load.repeat.max

    userChangedActions

    Optional

    A set of actions to be called after a user changed event takes place.

    personalizationservices.after.user.changed.actions

    a list of CxUrlVoterConfig (a one-to-many relation to CxConfig)

    Optional. The optional flag settled for CxConfig part of relation makes it optional.

    A list of url voter configs for CxConfig

    N/A

    calculationProcess

    Mandatory

    The name of the calculation process used.

    personalizationservices.calculation.process

    catalogLookup

    Optional

    The type of strategy used for multicountry configuration.

    personalizationservices.calculate.catalogLookup

    a list of ConsentTemplate objects (a one-to-many relation to CxConfig)

    Optional

    ConsentTemplates end-user needs to accept to receive personalized content based on user data.

    N/A

    userSegmentsStoreInSession

    Optional

    Defines if segments for registered user should be stored in session and saved to database after session ends. The default value is: Boolean.FALSE

    N/A

  • CxUrlVoterConfig: A ConfigurableUrlVoter configuration which contains the following parameters:

    Parameter Name

    Mandatory/Optional

    Description

    Property Equivalent

    urlRegexp

    Mandatory

    A url regular expression

    personalizationservices.calculate.<configId>.url

    actions

    Mandatory

    A set of string representation of the RecalculateAction enum values

    personalizationservices.calculate.<configId>.actions