Skip to main content
Gainsight Inc.

Validate In-App Engagements for Checksum and HTML Sanitization

This article explains how to validate active engagements for Checksum and HTML errors before they are viewed by the user. 


Gainsight PX lets you validate active engagements for checksum and HTML errors in real time. This helps you identify and debug potential issues to eliminate errors even before the engagements are triggered for the user.

Define the validation criteria to run a detailed check across engagements to identify and debug the following potential issues:

  • Checksum validations
  • Vulnerable or invalid HTML tags
  • Domains not allowed in HTML

Validate Engagements for Errors

To validate active engagements: 

  1. Navigate to Administration > Checksum
  2. (Optional) If there are multiple products in the subscription, select the product to validate the engagements.
  3. (Optional) Select the environment. 

    Admin_Admin Console_Download Checksum.png
  4. Click Download Checksum to download a list of active engagements and their IDs. 
  5. Upload the checksum file to the server.
  6. In the uploaded file, configure the engagements that must be whitelisted.
  7. In the Checksum URL field, enter the location of the uploaded file to validate the engagements for checksum failures. 
  8. In the HTML Sanitization Allowed Domains field, enter the domains that can be referenced in HTML for engagements.
    For more information on how HTML sanitization works in Gainsight PX, refer to the Javascript SDK Configuration article.

    Admin_Admin Console_Validation Criteria.png
  9. Click Save.
  10. From the Engagements section, select the engagements to validate.
    Note: You can select a maximum of five engagements at a time.
  11. Click Validate.

    Admin_Admin Console_Engagements Validated.png

The Errors in Validate Engagements section displays a list of the issues identified in the selected engagements, along with details on the type of error. The information displayed in this section is for identification purposes only. To fix the errors, navigate to the specific engagement and make the changes. 

Admin_Admin Console_Engagements.png

To refresh the data or validate other engagements, navigate back to the Engagements section. 

Additional Resources

  • Was this article helpful?