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

💡 Tracking Keyboard 'Enter' Events #2805

Open
blchelle opened this issue Jun 11, 2024 · 1 comment
Open

💡 Tracking Keyboard 'Enter' Events #2805

blchelle opened this issue Jun 11, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@blchelle
Copy link
Contributor

Hi Datadog Folks,

One thing I've noticed as I'm working closely with Datadog RUM is that when a user hits 'Enter' on a button (as opposed to clicking with their cursor), this does not trigger an action event that is transmitted to Datadog RUM.

The ask here is NOT to track everytime a user types something in (very bad for privacy). Instead, I only want to track when the user hits the 'Enter' key, producing the same outcome as a 'mouse click' would.

I'm interested in getting feedback into whether this is something that has been discussed before and if it's a good idea/bad idea or feasible to implement.

Some More Context:
I'm currently developing a script that leverages Datadog RUM's activity tracking to correlate our Frontend actions to network request. (i.e. We want a mapping that says the "Create User" button, always sends a network request to POST /api/user).

However, because some users hit the 'Enter' key rather than clicking the "Create User" button, the event doesn't get created in this case. The impact of this is that it weakens the correlation between actions and the corresponding endpoint.

Looking forward to discussing this further.

@blchelle blchelle added the enhancement New feature or request label Jun 11, 2024
@thomas-lebeau
Copy link
Collaborator

Hi @blchelle,
Thanks you for your feedback, this is indeed something that have been discussed in the past but there wasn't a strong customer use case for it.

For your use case, would using custom actions help?

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

No branches or pull requests

2 participants