Offers
The Offers module displays offers recommendation for the customer based on the decision scopes set in the configuration of the project.

Configuring the decision scopes
The Customer Experience App allows you to display recommended offers to the advisor logged in to the app. Those offers can be then recommended to the customer whose profile is loaded.
The supported offer types in the CX App are:
- text offers- the content of the offer is used as the description of the offer, displayed together with the offer title on a background suited to the project branding options,
- image offers
- JSON offers- allow the highest extent of customization, as the JSON object can contain both properties of text and image offers. A sample offer in JSON format can look as follows:
{
"description": "Show you love your mug and the environment",
"image": "https://sv-ac-demos.com/demo/bp/pictures/offer-freeCoffee.jpg",
"link": "https://www.bpmerewards.co.uk/",
"name": "Bring your mug and enjoy a free coffee cup"
}In order to add the offers into your project, add the Offers module to your project and paste the decision scopes in the configuration. Each decision scope should be pasted separately, as a separate option in the editor.
Module configuration
General settings
Property | Description | Default |
|---|---|---|
Hide title | Indicates whether the module title above the module content should be hidden or not | false |
Title | The name of the module, displayed above the module content | Recommended offers |
Description | The description of the module, displayed as a tooltip after clicking on the info icon next to the module's title | Offers recommendation for the customer |
Use encoded decision scopes | A boolean value indicating whether the decision scopes used are encoded or not. | false |
Image fit | For offers containing a background image - defined whether the image should be contained or cover the entire area of the container | cover |
Text color | Use if your primary color is not clearly visible on the offer's background | --- |
Height | Fixed height of the offer image. Should have a unit recognizable by the CSS engine | --- |
Decision scopes
Property | Default |
|---|---|
Decision scope | A JSON object containing at least xdm:placementId and xdm:activityId |
Item count | The maximum number of offers to be returned per scope |
Hide texts | A boolean setting useful when the offer picture already contains texts and you want to hide the offer title |
Encoded decision scopes
Property | Description |
|---|---|
Encoded decision scope | An encoded JSON object containing at least xdm:placementId and xdm:activityId |
Item count | The maximum number of offers to be returned per scope |
Hide texts | A boolean setting useful when the offer picture already contains texts and you want to hide the offer title |