Trigger a tag in Hotjar when an error message is triggered

  • 22 June 2016
  • 2 replies
  • 821 views

I’d love it a certain tag could be associated with a recording on Hotjar when an error message is triggered on a landing-page. Is that feasible?


2 replies

Userlevel 7
Badge +3

Hi Adrien, 

Can you define what you mean by “an error message”?

I can only think of one kind of error message - failing field validation. 

Taking a quick look at the Hotjar docs it does seem possible, in theory at least, to fire off tagging with a bit of JS. 

Of course, that assumes you can pick up the error message you’ve mentioned.

Best,
Hristian

Yes. I had in mind “failing field validation” when I said “error message”. Do you think that any JS developer could help me with this? Or can you point me at a resource who has already done that int he past?

Reply