Display different graphics based on country | XM Community
Skip to main content
Solved

Display different graphics based on country

  • May 1, 2020
  • 3 replies
  • 17 views

Forum|alt.badge.img

Hello there,
I am working on a survey that will be deployed in multiple countries. I would like to use different visuals to explain multiple choice questions for each country. I will have both GEO-IP country name as well as a previous question which asked which country the respondent is in.
The idea is to have contextualized visuals displayed within multiple choice responses based on their country.
I do NOT want to use display logic and break the question into separate questions for each country. As this will increase the complexity during analysis and I will have to merge questions together.
Is there a way to do this as either apart of a translation or as a coded graphic display logic?
Thanks!

Best answer by TomG

I am also trying to find a way to embed a separate graphic into the "click to enlarge" feature. So for example a simple graphic would be visible and then when clicked it would display an enlarged more detail graphic.

You can use Lightbox for this. You can load it from jsDelivr.

3 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • May 1, 2020

You can set embedded variables with the urls of your graphics using branches in the survey flow, then pipe those embedded variables into html img tags.


Forum|alt.badge.img
  • Author
  • May 5, 2020

Wonderful this worked well!
I am also trying to find a way to embed a separate graphic into the "click to enlarge" feature. So for example a simple graphic would be visible and then when clicked it would display an enlarged more detail graphic.
Any ideas?

Thanks!


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • Answer
  • May 5, 2020

I am also trying to find a way to embed a separate graphic into the "click to enlarge" feature. So for example a simple graphic would be visible and then when clicked it would display an enlarged more detail graphic.

You can use Lightbox for this. You can load it from jsDelivr.