How do I refer to a region on a Heat Map? | XM Community
Solved

How do I refer to a region on a Heat Map?

  • 20 January 2019
  • 2 replies
  • 36 views

Badge
I would like to use java script to be able to do different things depending on where the person clicked on a Heat Map. I suppose I can do this using X and Y coordinates, but I'd rather use regions. Is there are way to refer to regions inside the survey?

Thank you!
icon

Best answer by TomG 20 January 2019, 16:20

View original

2 replies

Userlevel 7
Badge +27
A heatmap is an SVG, and you can't really do anything with it using JavaScript. However, in the survey flow you can set up branch conditions based on whether a region is clicked.
Badge
Ah, OK. Thank you for you help.

Leave a Reply