Configure Personalization Calculation
You can configure the customer experience calculation options while creating or editing the personalization configuration. This example shows editing an existing configuration.
Procedure
- Navigate to
Personalization
Configuration
Personalization configuration
Calculation Tab
and click the configuration you want to edit. - Go to Calculation tab.
Here you can view and configure the personalization calculation settings. The numbers represent further steps.
- Configure General properties.
Attribute Name Description Calculation process name The name of the calculation process to start for asynchronous calculation. Asynchronous calculation calls the process with this name. Minimum affinity Minimum affinity for user-to-segment relation. Only relations with affinity >= minAffinity are used in calculation process. - Configure Initial Actions.
For more information on the actions, see Personalization Calculation Process.
Attribute Name Description User login actions Set of actions to be called after user logs in. New session actions Actions to be executed when new session starts. Actions when user gives consent A set of actions to be executed once the user gives all consents required by personalization. - If there are no consents required by personalization, this option has no effect.
- If consent is required by personalization, selected actions are executed once after the user has given the consent.
- If multiple consents are required by personalization, selected actions are executed once after the customer has given all required consents.
- In case the user withdraws the consent, the actions may be triggered again when the user gives consent once more.
- Configure URL Related Actions after customer has given consent. This configuration allows you to define actions to be executed for specific URLs. The ConfigurableUrlVoter triggers the recalculation if the request url contains one of the configured patterns.
- Click Create new Configuration of url voter.
- In the new window, fill in the required fields.
Attribute Name Description Code A unique code for your url voter configuration. User type User type for which config is valid (ALL, REGISTERED, ANONYMOUS). URL regexp A regular expression. If matched, the actions entered in the Actions field are executed by the voter. Actions A list of actions returned by voter if the regular expression matches. The value for this attribute must be between 1 and 255.
- Configure Periodic Actions to define actions which are executed periodically.
- Click Create new Configuration of periodic voter.
- In the new window, fill in required fields.
Attribute Name Description Code A unique code for your url voter configuration. User type User type for which config is valid (ALL, REGISTERED, ANONYMOUS). Actions A list of actions returned by voter if the regular expression matches. The value for this attribute must be between 1 and 255. Minimal time interval The minimal time (in milliseconds) that needs to pass between executing actions. The value for this attribute must be 0 or higher. Minimal request number The minimal number of requests that needs to pass between executing actions. The value for this attribute must be 0 or higher.
- Click Done to finish.