Track messaging system

  • 29 April 2023
  • 1 reply

Hi everyone, 

I would like to track onsite messaging system, especially when a user sends a message. But he/she can send a message by clicking on a specific element (and that’s easy to track the event), but also by clicking on “Enter” key (desktop or mob). 

Is it possible to track event when someine click on “Enter” key ? 




Best answer by Christy H 29 April 2023, 01:09

View original

1 reply

Userlevel 4
Badge +3

Hi @tgounot 

Natively, this is something that Heap does not capture out of the box at the moment.

We can appreciate that a lot of users navigate using the keyboard, however there are a lot of privacy/security concerns with tracking keyboard input as you may imagine.

What you could do is create a Custom Event using our track APIs. In this case, you could create a custom event called “Sent Message” that fires whenever a user sends a message regardless of which method they used to do it, though you will likely want to add a property to the event that capture this information.

I hope that helps!