Top

Identify tags loaded on a page

Prev Next

Use Whatfix's debug logs to find out which Whatfix tags are being loaded on a page in your application.

The following scenarios may need you to find out which tags load on your page:


Use the following steps to get the debug logs:

  1. Go to the page in your application where you want to get the loaded tags.
    support_site.png

  2. Open your browser's Developer Tools.
    support_devtools.png

  3. Go to the Console tab.
    debug_console.png

  4. Type _wfx_settings.debug_mode=true; and press Enter.
    debug_mode.png

Info:  

Here, you are setting the _wfx_settings.debug_mode variable to a true value, which instructs Whatfix to provide debug logs for Whatfix widgets whenever they load on a page.

  1. Type _wfx_refresh(); and press Enter.
    wfx_refresh.png

Info:  

The _wfx_refresh(); command reloads all Whatfix content and widgets that are supposed to load on the page.


After getting the debug logs, click IS is enabled : applying on top of base segment to expand its output.
debug_IS_is_enabled.png

Inside, you can find objects containing the names of the tags evaluated on that particular page.
debug_tag_name.png

Each object contains the following information:

  • conditions: The conditions required for that tag to load.

  • flows: The count of content this tag is attached to.

  • name: The name of the tag.

  • type: The type of the tag, that is, Page, Role, or Other tag.

debug_evaluated_tag.png

Privacy Policy | Whatfix Glossary | Whatfix Platform Status
Copyright © 2024 WHATFIX TM. All rights reserved.