Skip to content

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

@julius-ban

Description

@julius-ban

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions