Page URLs

The rules for transforming URLs determine how the different parts of a URL are parsed to create collections that are useful in site analysis.

  1. From the navigation bar, click Administration Administrationthen selectGeneral Settings. Then select Website Configurationthen selectPage URLs.
  2. Click Add.
    Note: Use a unique name for the rule. Names must be unique across all rule types and events in the system.
  3. Specify the URL domain and page elements for the page URL.
    Note: The page URLs are evaluated in order. Click Update priorities to change the order that the page URLs are evaluated. When a page URL is deleted, the priorities of the remaining page URLs are updated to fill the gap that is left by the deleted page URL.
  4. On the Page Properties tab, define a rule for how the page URL is matched.
    TipIf you select Equals in the drop-down menu of the URL domain section, you can select one or more domains from the Manage Domains tab.
  5. (Optional) On the Page URL tab, choose one of these options for how to transform the URL:
    • Modify only the URL query parameters: When you select this option, you can choose which query parameters are removed from the page URL. For example, with the URL https://www.google.com/?search="myTerm", the query parameter is search="myTerm". When storing URLs, you might want to combine all similar URLs by stripping any query parameters.

      When you select this option, complete these steps:

      1. In the Page URL query parameters section, select Keep Only or Remove to specify how you want to process the query parameters.
      2. Enter the query parameters in the field that you want to keep or remove. Separate multiple values with a comma.
    • Modify entire URL: When you select this option, you can add or remove parts in the URL. For example, the links to some pages might contain strings that are not useful, but you need to record the rest of the URL. In other cases, you might want to append user-specific information from a cookie or referrer to associate the URL with a specific use case.

      When you select this option, complete these steps:

      1. Take note of the current preview value that is displayed above the Attribute and Text Settings section. This is the value that is written to records that match this rule for page URLs.
        Note: The protocol and domain attributes are added by default, which gives you the default value that is shown. You can click Clear to delete all default attributes.
      2. To match a page based on its URL, define your criteria based on how you want to parse the URL:
        1. Add page attribute for URL path (entire path), and set the value to profile/ui.
        2. Add a page attribute for URL query parameters. Set the parameter to returnURL and the value to https:%2F%2Fdata.example.com%2FMyLogon%2Flogin%3Fservice%3DaHR0.
        Note: Be aware of the case for all elements and selectors on your site when you configure rules. This includes form names, IDs, elements, and class names that are used in a CSS selector. For most comparisons, search terms and the page source is converted to lowercase and compared. However, regular expressions are left in their original case to preserve special characters.
      3. Define how to process query parameters in the URL. For more information, see the query parameter option.
      4. (Optional) Review or modify the page URL that is constructed from your attributes. You can add separators in the fields that are between attributes.
        TipIf you select URL path (entire path) for a section’s Source attribute value, typically you should remove the default separator ( / ) for the attribute sections. Removing the default separator avoids issues where an extra forward slash is added to a URL part that already contains a forward slash.
Última actualización: 18 de febrero de 2026