Automatic user-action naming based on page metadata

Dominik Punz
Dominik Punz Product news May 16, 2017

Dynatrace automatically generates user action names based on either underlying HTML page file names (for example, Loading of page index.html)  or XHR URLs (for example, http://example.com/api/login). An earlier article explains your options for automated user action naming and explores how you can configure the default naming of user actions. This article focuses on recent enhancements to user-action naming and extraction rules.

To add a new user action naming rule

  1. From the navigation menu, select Applications.
  2. Select the application you want to configure.
  3. Click the Browse (…) button.
  4. Select Edit.
  5. Select the User actions tab.
  6. Click the Add naming rule button.
    Basic user action naming rules are static. Extraction rules are used for dynamic user action naming. For full details about user action naming rules, see How do I create custom names for user actions?
    User action names

User action names based on page metadata

With the latest release of Dynatrace, you can now configure user action naming rules based on page metadata. Dynatrace supports three metadata elements for user action naming: CSS selector, JavaScript variable, and meta tag. To define a user action naming rule, type a Resulting user action name and select a metadata type from the Rule drop list.

user action names

In many cases, the available page metadata already contains usable action names that you can build extraction rules for. For example, consider a JavaScript variable that has been implemented for monitoring with Dynatrace Advanced Synthetic that contains a page group ID (for example, gomez.pgId). You can configure an extraction rule that uses the value of the page group ID as the user action name. See example below.

User action names

As you can see, user action naming rules provide a powerful and flexible means of generating consistent and readable user action names.

Share blog post

Stay Updated

application monitoring user actions Version 119 What's new
Dominik Punz
Dominik Punz

The Author

Dominik is a Technical Product Manager at Dynatrace with a focus on real user monitoring. He’s responsible for developing the features and capabilities of our web and mobile monitoring offerings. Before joining the Product Management team, Dominik worked on the development of Dynatrace.

Looking for answers?


Start a new discussion or ask for help in our Q&A forum.

Go to forum
Disclaimer: The views expressed on this blog are my own and do not reflect the views of Dynatrace LLC or its affiliates.
You may also like

Upgrade to the Data explorer to level up your data visualizations and analysis

September 14, 2022
Thomas Ziegelbecker
X
Learn without boundaries at Dynatrace Perform 2023
Push your cloud past its limits with 40+ breakouts, 30+ customer speakers, and 20+ training sessions.
Register here >