# This action occurred while the window was in the background

**URL:** <https://community.dynatrace.com/t/this-action-occurred-while-the-window-was-in-the-background/45303>\
**Category:** Real User Monitoring\
**Tags:** real-user-monitoring-classic, user-sessions\
**Created:** [April 25, 2024, 4:06pm UTC](https://community.dynatrace.com/t/this-action-occurred-while-the-window-was-in-the-background/45303 "2024-04-25T16:06:47Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Eric\_Yu](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/eric_yu/32/20360_2.png) [@Eric\_Yu](https://community.dynatrace.com/u/Eric_Yu)\
**Post date:** [April 25, 2024, 5:04pm UTC](https://community.dynatrace.com/t/this-action-occurred-while-the-window-was-in-the-background/45303/5 "2024-04-25T17:04:19Z")

</div>

If we’re talking about web, it means exaclty that “This action occurred while the window was in the background”.

For instance, in Firefox, you’d have the&nbsp; **Document.visibilityState** flag,&nbsp;bg=1 meaning the window is in a background state.

[Document: visibilityState property - Web APIs | MDN](https://developer.mozilla.org/en-US/docs/Web/API/Document/visibilityState).

In some cases, you might get a message like:

```markup
The browser went into the background while the action was active. Timings might not be 100% accurate due to reduced timer resolution

```

---

_[View the full topic](https://community.dynatrace.com/t/this-action-occurred-while-the-window-was-in-the-background/45303)._
