This page describes how to set custom page names. In the Configuration > Instrumentation page, you can configure rules that name pages, iframes and Ajax requests based on various parts of the page URL. See Configure Page Identification and Naming.

You can also configure the JavaScript Agent to use any arbitrary string, not necessarily a part of the URL, to name a page or an iframe, but not an Ajax request. To do so, you assign a string of 760 characters or less to the userPageName property of the PageView object. If the string length exceeds 760 characters, the page name will not be set. 

For example, this configuration shown below would set the page name to "My Custom Page". That page name would then be used to identify and group pages in the Pages & AJAX Requests page in the Controller UI. 

<head>
    <script type='text/javascript' charset='UTF-8'>
        (function (config) {
            (function (info) {
                info.PageView = {
                    userPageName: "My Custom Page"
                } 
            })(config.userEventInfo || (config.userEventInfo = {}));
        })(window['adrum-config'] || (window['adrum-config'] = {}));
    </script>
    <script src='//cdn.appdynamics.com/adrum/adrum-latest.js' type='text/javascript' charset='UTF-8'></script>
    ....
</head>
JS

The default page name consists of the hostname, port, and path. For example, if the page URL is http://example.com:8080/yourpath, the default page name would be example.com:8080/yourpath