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

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

  • January 20, 2019
  • 2 replies
  • 65 views

Forum|alt.badge.img
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!

Best answer by TomG

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.

2 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • January 20, 2019
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.

Forum|alt.badge.img
  • Author
  • January 20, 2019
Ah, OK. Thank you for you help.