How do you dynamically update a logo? | XM Community
Skip to main content

Depending on the embedded data field, "brand", that we will pass via a query parameter, we will display a unique question for each of our brands. We would like to use some JS (or similar) to display each brand's logo where it would normally be if we simply added the logo via Look & Feel. Since we are surveying multiple brands, we cannot use Look & Feel's solution.
I found this question that was previously asked, but their solution is unique to them: https://community.qualtrics.com/XMcommunity/discussion/13839/how-to-add-multiple-logos-in-the-logo-container
We hope to be able to use some JS in each question's JS container that we can then reference the appropriate logo within our Graphics Library.
Thanks in advance for any help!

Based on Brand, set the logo URL in the survey flow. Next, place below code in the Look & Feel - Header and pip-in the URL from the survey flow.



Awesome, PraDeepKotian_Ugam, we'll give that a try and let you know how it goes! BIG THANKS!
UPDATE: This worked, PraDeepKotian_Ugam! You rock - super quick and accurate response!


This works, but on mobile it squeezes the survey to the right. Is there any way to avoid this?


Leave a Reply