Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User Interaction Improvement : Getting the ID of HTML from the click event? #1573

Open
julius-ban opened this issue Jan 21, 2025 · 0 comments

Comments

@julius-ban
Copy link

We have confirmed that the 'transaction.name' is created by importing the custom name or HTML name from the code below.

Link : https://github.com/elastic/apm-agent-rum-js/blob/65ebcabe9cd1472d6b0b8da7b0a5489fe7d126f3/packages/rum-core/src/common/observers/page-clicks.js#L91C1-L91C117

Why don't you bring the 'id' property of html? If there is no 'name' attribute, it is virtually difficult to identify.

As you know, the 'name' attribute can be used in duplicate, and the 'id' attribute will also be required for more accurate identification.

Thank You.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant