Conditional Background? | XM Community
Skip to main content
Hi, Is it possible to make the survey background conditional/personal? e.g. based on a tag in the url. Simple example if there's survey.qualtrics.com/jfe/form/SV_123?industry=automotive vs survey.qualtrics.com/jfe/form/SV_123?industry=chemicals a different background should be shown.
@joyca_v You can use Embedded Data in CSS and HTML, so depending on how you're implementing the background: 1. In your survey logic, make branches mapping URL params to images, e.g.: - "If industry=automotive, set Embedded Data industry_background=car.jpeg" - "If industry=chemicals, set Embedded Data industry_background=chemicals.jpeg" 2. In your survey CSS or HTML, use ```${e://Field/industry_background}``` in place of image links, e.g., ```<img src=${e://Field/industry_background}```. Then, when someone enters the survey from a link containing industry=whatever, the img src will be populated based on your survey logic which maps the industries to keywords.