Skip to content

Debugging

Verify URL Visibility Rules

Whatfix enables you to use various URL properties as Visibility Rules. Your browser’s Developer Tools enables you to get the value of each URL property.


Use the following steps to find the value of various URL properties in a browser:

  1. Open the page whose URL properties you want to find out.
  2. Open your browser’s Developer Tools.

debug_flow_devtools 3. Go to the Console tab.

debug_console


The following table shows the commands to get each URL property. Type the command in the Console and then press Enter to get the URL property.

URL PropertyConsole Command
URLlocation.href
URL Hostnamelocation.hostname
URL Pathlocation.pathname
URL Hashlocation.hash