How do you dynamically update a logo? | XM Community
Solved

How do you dynamically update a logo?

  • 24 June 2021
  • 3 replies
  • 190 views

Badge +2

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!

icon

Best answer by PraDeepKotian_Ugam 24 June 2021, 16:25

View original

3 replies

Userlevel 6
Badge +21

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.


Badge +2

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!

Badge +4

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

Leave a Reply