# Why Are “Page change” Events Not Returned in userAction Queries?

**URL:** <https://community.dynatrace.com/t/why-are-page-change-events-not-returned-in-useraction-queries/55992>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic, usql\
**Created:** [May 23, 2026, 12:20pm UTC](https://community.dynatrace.com/t/why-are-page-change-events-not-returned-in-useraction-queries/55992 "2026-05-23T12:20:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aboud1](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@Aboud1](https://community.dynatrace.com/u/Aboud1)\
**Post date:** [May 23, 2026, 12:20pm UTC](https://community.dynatrace.com/t/why-are-page-change-events-not-returned-in-useraction-queries/55992/1 "2026-05-23T12:20:30Z")

</div>

Hello Community,

We are noticing a discrepancy between the actions visible in the User Session timeline and the results returned from querying the userAction table.

Session contains the following visible events related to /en/home:

- Load → loading of page /en/home
- Page change → /en/home

From the session timeline, the total visible /en/home actions are 10.

However, when querying userAction, we are getting lower counts.

Query #1:

```auto
SELECT count(*)
FROM userAction
WHERE (
    targetUrl LIKE "%/en/home%"
    OR name = "loading of page /en/home"
)
AND application = "xxxxxx"
AND usersession.internalUserId = "xxxxxxxx"

```

Result: 7

Query #2:

```auto
SELECT count(*)
FROM userAction
WHERE (
    name = "loading of page /en/home"
    OR name = "/en/home"
)
AND application = "xxxxxxxx"
AND usersession.internalUserId = "xxxxxxxxxxxxxxxxxxxxx"

```

Result: 4

 ![Aboud1_0-1779538598422.png](https://global.discourse-cdn.com/dynatrace/original/2X/6/6e069baf799c24c6eb60eac87c368edf4db0cb78.png)

It seems that some “Page change” events visible in the session timeline are not queryable from the userAction table.

Has anyone faced similar behavior before?  
Is there a recommended way to retrieve all visible session timeline actions (including Page change events) through queries?

Thanks.

Aboud

---

<div class="post-metadata">

**Author:** ![sujit\_k\_singh](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sujit\_k\_singh](https://community.dynatrace.com/u/sujit_k_singh)\
**Post date:** [May 25, 2026, 11:15am UTC](https://community.dynatrace.com/t/why-are-page-change-events-not-returned-in-useraction-queries/55992/2 "2026-05-25T11:15:25Z")

</div>

Hi&nbsp;[@Aboud1](https://community.dynatrace.com/user/90253)

This is expected behavior.&nbsp;“Page change” events in the session timeline are route change detections that don’t always get promoted to full user actions in the&nbsp;userAction&nbsp;table.

The&nbsp;userAction&nbsp;table only contains actions that triggered measurable network/rendering activity (Load, XHR, Custom actions). Route changes displayed in the timeline are visual markers — not queryable via USQL unless they generated actual XHR calls.

Try this to get closer:

SELECT count(\*), type  
FROM userAction  
WHERE application = “xxxxxx”  
AND usersession.internalUserId = “xxxxxxxx”  
AND name LIKE “%/en/home%”  
GROUP BY type

Also check if missing actions were captured as XHR type with auto-generated names rather than the page URL.

Thanks,

Sujit

---

<div class="post-metadata">

**Author:** ![Aboud1](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@Aboud1](https://community.dynatrace.com/u/Aboud1)\
**Post date:** [June 2, 2026, 6:52am UTC](https://community.dynatrace.com/t/why-are-page-change-events-not-returned-in-useraction-queries/55992/3 "2026-06-02T06:52:15Z")

</div>

Thanks, Sujit.

I did some additional investigation with Dynatrace Support, and it appears that the missing Page Change entries are actually stored in the userEvent table rather than userAction.

For the same session:

```auto
SELECT count(*), name, page
FROM userEvent
WHERE application = "XXXX"
AND usersession.internalUserId = "XXXX"
GROUP BY name, page

```

returns:

- 6 × Page change /en/home
- 4 × Page change /spa/storeLocator

which exactly matches the Page Change entries visible in the session timeline.

So the discrepancy seems to come from the fact that the timeline combines both userAction and userEvent records, while USQL does not allow querying both datasets together.

I think this means there is no single USQL query that returns the same count shown in the timeline.

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![sujit\_k\_singh](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@sujit\_k\_singh](https://community.dynatrace.com/u/sujit_k_singh)\
**Post date:** [June 2, 2026, 9:32am UTC](https://community.dynatrace.com/t/why-are-page-change-events-not-returned-in-useraction-queries/55992/4 "2026-06-02T09:32:51Z")

</div>

Hi&nbsp;[@Aboud1](https://community.dynatrace.com/user/90253)

Thanks for sharing the findings from Support — that’s really useful to know!

Thanks,Sujit
