Skip to content

Configure Global Settings using Technical Configurations

Ignore Application Attributes during Mutations

Whatfix uses Mutation Observer to monitor changes in your application's DOM (Document Object Model). These changes can include updates to the attributes of HTML elements such as class, id, or style. For more information on how Whatfix uses MutationObserver API, see Configure Mutation Observer..

However, not all attribute changes are relevant. By enabling Mutation Exclude Attribute Names, you create a list of attributes that Whatfix ignores. Even if these attributes change, Whatfix does not treat them as mutations and does not react to them.

By ignoring irrelevant changes, Whatfix focuses only on mutations that impact application functionality and user interactions.

Consider an example where youโ€™re using Whatfix on a web application that frequently changes the color of its buttons. The color attribute (style) changes are not significant for the functionality of the Whatfix flows, so you decide to exclude them from mutation observations.

Use the following steps to exclude certain application attributes during mutations:

  1. On the Whatfix Guidance dashboard, click Settings. ia_left_nav_settings

  2. Click Advanced customisation. ia_settings_advanced configuration

  3. Click Technical configuration. ac_tech config.png

  4. Click Add preferences. tech config_add prefrences.png

  5. Click Smart Tip. tech config_smart tip.png

  6. Select the Mutation Exclude Attribute Names checkbox. tech config_enable mutation exclude attributes name.png

  7. Click Add. tech config_add button.png

  8. In the Mutation Exclude Attribute Names Value field, enter the attributes you want Whatfix to exclude, as shown in the following image: DB_Mutation_Observer.png

The attribute name values must be enclosed in double quotes.

  1. Click Save. tech config_save.png