# How to Create Page groups with Url or Xhr?

**URL:** <https://community.dynatrace.com/t/how-to-create-page-groups-with-url-or-xhr/32271>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic\
**Created:** [August 2, 2021, 7:55am UTC](https://community.dynatrace.com/t/how-to-create-page-groups-with-url-or-xhr/32271 "2021-08-02T07:55:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AskMe-Solutions](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/askme-solutions/32/33154_2.png) [@AskMe-Solutions](https://community.dynatrace.com/u/AskMe-Solutions)\
**Post date:** [August 2, 2021, 7:55am UTC](https://community.dynatrace.com/t/how-to-create-page-groups-with-url-or-xhr/32271/1 "2021-08-02T07:55:54Z")

</div>

Dear all,

I want to know “Dynatrace can configuration a manual page group(select page to use)”

Ex. if I want sum groups between “/orange-booking-finish.jsf” and “/orange-booking-review.jsf” Can grouping?

 ![AskMeSolutions_2-1627890897633.png](https://global.discourse-cdn.com/dynatrace/original/2X/2/2d53dd2f51dbed977191ca266b31b4bc7c1c64b3.png)

ref.[https://www.dynatrace.com/support/help/how-to-use-dynatrace/real-user-monitoring/setup-and-configuration/web-applications/initial-configuration/pages-and-pagegroups/](https://www.dynatrace.com/support/help/how-to-use-dynatrace/real-user-monitoring/setup-and-configuration/web-applications/initial-configuration/pages-and-pagegroups/)

---

<div class="post-metadata">

**Author:** ![ryan\_ott](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/ryan_ott/32/15818_2.png) [@ryan\_ott](https://community.dynatrace.com/u/ryan_ott)\
**Post date:** [August 2, 2021, 12:57pm UTC](https://community.dynatrace.com/t/how-to-create-page-groups-with-url-or-xhr/32271/2 "2021-08-02T12:57:33Z")

</div>

Hello,

The way to manually define page groups is by utilizing the RUM JavaScript API. You need to manually instrument the index.js file for your web application to tell Dynatrace how the individual pages should be grouped. More information on this is found in the specific documentation here:&nbsp;[Pages and page groups in RUM Classic — Dynatrace Docs](https://www.dynatrace.com/support/help/shortlink/pages-and-pagegroups#define-your-own-page-names-and-page-groups)
