Heat Map Image ID | XM Community
Skip to main content
Solved

Heat Map Image ID


Forum|alt.badge.img+3

Hello, 

 

I am trying to add an image ID to an image being used in a heat map question. I don’t have an HTML view option with this question. Is there another way to do it? 

Thanks!

Best answer by Tom_1842

The below JavaScript might also be helpful:

jQuery("#"+this.questionId+" .HeatMapImage").attr("id","imageid");

View original

4 replies

CxEx
Level 5 ●●●●●
Forum|alt.badge.img+13
  • Level 5 ●●●●●
  • 70 replies
  • April 24, 2023

No it is not possible with heatmap question while you can assign labels with hot spot. 

 

In case you want to use heatmap, you get image in report with concentration of clicks and at report leve you can provide labels to different sections of an image. 


qualtrics_nerd
Level 5 ●●●●●
Forum|alt.badge.img+19
  • Level 5 ●●●●●
  • 225 replies
  • April 24, 2023

Hi @AnnaM89 ,

You can achieve this by using below way around:
 

Click to write the question text<span style="display:none">Image id =12</span>

Add below code in the HTML view of the Qtext:
 



You will get  data in below format :

 

 

 

Hope this resolves your query😊!!
 


Tom_1842
Level 8 ●●●●●●●●
Forum|alt.badge.img+28
  • Level 8 ●●●●●●●●
  • 876 replies
  • Answer
  • April 24, 2023

The below JavaScript might also be helpful:

jQuery("#"+this.questionId+" .HeatMapImage").attr("id","imageid");


Forum|alt.badge.img+3
  • Author
  • Level 2 ●●
  • 14 replies
  • April 24, 2023

Thank you all! Tom - your solution worked perfectly!