Skip to main content

         This documentation site is for previous versions. Visit our new documentation site for current releases.      

Configuring web treatments

Updated on August 4, 2022

A Web Treatment represents the visual message you want to communicate to your customer on the web channel. It typically consists of an image or HTML fragment and text which is rendered in a specific location on a web page. If a user clicks on this image or HTML, Pega tracks the click event and redirects the user to a specified web page. This redirection is specified through the click-through URL.

Pega Customer Decision Hub
Web Treatments are placed on web pages and contain a link which takes a Customer to a target page when clicked. To create a Web Treatment:
  1. Optional: If the default list of fields available on the other treatment form does not contain a property which you require, edit the WebTreatments Decision Data rule used by the treatments.
    For more information, see Managing Decision Data rules in Pega Customer Decision Hub. Any new properties you add to the form are automatically available for all previously created treatments.
  2. On the Treatments landing page, click CreateCreate web.
  3. Enter a unique name and a description for the Treatment.
  4. Specify when the Treatment is active.
    The following options are available:
    • Always
    • Never
    • Within a defined time period
  5. In the Eligibility section, select the eligibility condition that you want to apply to this treatment.
    For more information, see Eligibility conditions for treatments.
  6. In the Content URL field, provide a link to an image or HTML fragment to display for this Treatment. For example, this can be the URL of an image hosted in a content repository.
    After you populate the Content URL field, a preview of the content is displayed on the bottom of the page. For image content, the Dimensions field shows the image dimensions is pixels.
  7. In the Click-through URL field, provide a link to a web page or a file that provides more details on the action for which you created the Treatment. Clicking this link will re-direct to the URL specified in this field.
  8. In the Format field, specify whether the Treatment content is a plain image or an HTML fragment.
  9. In the Placement type field, select the intended location and style of the treatment design. For example, the Treatment can appear as a large central banner, as a rotating strip of images, or as a footer.
    The following options are available:
    • Carousel
    • Feature band
    • Footer bar
    • Hero
    • Page takeover
    • Tile
  10. In the Language field, select the language of the treatment.
    Specifying the treatment language allows Pega Customer Decision Hub to pick the right treatment based on the Customer's preferred language.
  11. Click Create.
Result: The Treatment you created is now available for use in actions.
What to do next: If you want to use adaptive analytics for Next-Best-Treatment selection, save the Web_Click_Through_Rate adaptive model into your Artifacts ruleset and add the relevant Customer property predictors. The predictors allow the adaptive model to learn and produce the desired results.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us