cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Trigger experience calculation

0 Kudos
2,152

Hello guys,

We want to set up when the experience calculation in personalization (based on SmartEdit) is triggered for registered customers. What are the available options? Thank you in advance!

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

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

  1. Navigate to Personalization Configuration Personalization configuration Calculation Tab and click the configuration you want to edit.
  2. Go to Calculation tab.

    Here you can view and configure the personalization calculation settings. The numbers represent further steps.

  3. Configure General properties.Attribute NameDescriptionCalculation process nameThe name of the calculation process to start for asynchronous calculation. Asynchronous calculation calls the process with this name.Minimum affinityMinimum affinity for user-to-segment relation. Only relations with affinity >= minAffinity are used in calculation process.
  4. Configure Initial Actions.Attribute NameDescriptionUser login actionsSet of actions to be called after user logs in.New session actionsActions to be executed when new session starts.Actions when user gives consentA 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.
    Personalization Calculation Process.
  5. 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.
    1. Click Create new Configuration of url voter.
    2. In the new window, fill in the required fields.Attribute NameDescriptionCodeA unique code for your url voter configuration.User typeUser type for which config is valid (ALL, REGISTERED, ANONYMOUS).URL regexpA regular expression. If matched, the actions entered in the Actions field are executed by the voter.Caution

      Be very careful when defining the expression because of potential ReDoS (Regular Expression Denial of Service) attack. The ReDoS attack is an algorithmic complexity attack that produces a denial of service by providing a regular expression that takes a very long time to evaluate. The attack exploits the fact that most regular expression implementations have exponential time worst case complexity, so for larger input strings (the ‘evil regex’) the time taken by a regex engine to find a match increases exponentially.

      ActionsA list of actions returned by voter if the regular expression matches. The value for this attribute must be between 1 and 255. Note

      You can see the list of all available url voters under Personalization Configuration Personalization Configuration Configuration of url voter and assign it to the desired personalization configuration.

  6. Configure Periodic Actions to define actions which are executed periodically.
    1. Click Create new Configuration of periodic voter.
    2. In the new window, fill in required fields.Attribute NameDescriptionCodeA unique code for your url voter configuration.User typeUser type for which config is valid (ALL, REGISTERED, ANONYMOUS).ActionsA list of actions returned by voter if the regular expression matches. The value for this attribute must be between 1 and 255.Minimal time intervalThe minimal time (in milliseconds) that needs to pass between executing actions. The value for this attribute must be 0 or higher.Minimal request numberThe minimal number of requests that needs to pass between executing actions. The value for this attribute must be 0 or higher. Note

      You can see the list of all available periodic voters under Personalization Configuration Personalization Configuration Configuration of periodic voter.

  7. Click Done to finish.

Answers (0)