# Difference between userevent and useraction in USQL

**URL:** <https://community.dynatrace.com/t/difference-between-userevent-and-useraction-in-usql/39098>\
**Category:** Open Q&A\
**Tags:** usql, user-sessions\
**Created:** [March 30, 2023, 5:36pm UTC](https://community.dynatrace.com/t/difference-between-userevent-and-useraction-in-usql/39098 "2023-03-30T17:36:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![soportetr](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@soportetr](https://community.dynatrace.com/u/soportetr)\
**Post date:** [March 30, 2023, 5:36pm UTC](https://community.dynatrace.com/t/difference-between-userevent-and-useraction-in-usql/39098/1 "2023-03-30T17:36:16Z")

</div>

Hi Everyone,

What’s the diference between userevent.page and useraction.name?

I was making some Funnel charts and then I realized something when executing some query:

This is a Funnel using userevent.page statement:

 ![soportetr_0-1680197488629.png](https://global.discourse-cdn.com/dynatrace/original/2X/4/4e66a8d316382d8b4baab195c20fa5bf867bd81f.png)

On the other hand, this is another Funnel but using useraction.name statement:

 ![soportetr_1-1680197647759.png](https://global.discourse-cdn.com/dynatrace/original/3X/8/0/80a01b73ecdaf9413ffe124fe3c4f66de5846162.png)

Could you help me understanding the function of each statement?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [March 30, 2023, 7:02pm UTC](https://community.dynatrace.com/t/difference-between-userevent-and-useraction-in-usql/39098/2 "2023-03-30T19:02:36Z")

</div>

Hi,

In general, the difference between an action and an event is their context of occurrence. Both indicate state changes. But an action results from the execution of a function, while an event does not necessarily have to. Hence, an event may occur spontaneously.&nbsp;In Dynatrace user action name constructs a name also based on User event type, for example, click on…, loading of page…, or keypress on…

 ![Screenshot 2023-03-30 at 21.01.38.png](https://global.discourse-cdn.com/dynatrace/original/2X/8/8cb9fc479e2dd41fc9032e55442f4d11e75a6154.png)

 ![Screenshot 2023-03-30 at 21.01.52.png](https://global.discourse-cdn.com/dynatrace/original/2X/6/6a21d62c22b16641e0dc6b0429d2382c35b2b879.png)

Radek

---

<div class="post-metadata">

**Author:** ![soportetr](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@soportetr](https://community.dynatrace.com/u/soportetr)\
**Post date:** [March 30, 2023, 7:33pm UTC](https://community.dynatrace.com/t/difference-between-userevent-and-useraction-in-usql/39098/3 "2023-03-30T19:33:56Z")

</div>

Hi&nbsp;[@radek\_jasinski](https://community.dynatrace.com/user/16832)&nbsp;,

Thank you for your response. I understand now the difference. So, what would be recommendable at the moment of creating a Funnel chart, to use userevent or useraction?

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [March 30, 2023, 7:38pm UTC](https://community.dynatrace.com/t/difference-between-userevent-and-useraction-in-usql/39098/4 "2023-03-30T19:38:52Z")

</div>

I recommend useraction.name 🙂

Radek

---

<div class="post-metadata">

**Author:** ![soportetr](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@soportetr](https://community.dynatrace.com/u/soportetr)\
**Post date:** [March 31, 2023, 12:27am UTC](https://community.dynatrace.com/t/difference-between-userevent-and-useraction-in-usql/39098/5 "2023-03-31T00:27:27Z")

</div>

Thank you so much for your help
