@Dhananjayan Palaniswamy :
you can achieve your goal of creating a single master survey that adapts based on parameters in the survey URL. Here’s how you can do it:
Create a single survey that contains all the questions and content you want to share across different brands and countries. Keep the design as generic as possible.
You will need to create parameters for brand logos and button colors. These parameters could be something like brandLogo and buttonColor.
You will need to use JavaScript to dynamically change the logo and button colors based on the parameters passed in the survey URL. You can use the “JavaScript” question type to embed custom code.
For example, you can use JavaScript to change the logo source and button color based on the parameters like this:
Qualtrics.SurveyEngine.addOnload(function() {
var brandLogo = "${e://Field/brandLogo}";
var buttonColor = "${e://Field/buttonColor}";
// Update logo source and button color based on parameters
jQuery("#brandLogoElement").attr("src", brandLogo);
jQuery("#buttonElement").css("background-color", buttonColor);
});
When you share the survey, you can include parameters in the URL like this:
https://your-survey-link?brandLogo=brand1logo.png&buttonColor=#FF0000
Do I need to apply this script in each question? Or apply in the global header?
Also, instead of passing many parameters in link, is it possible to set them in the survey based on one parameter (let’s say “country”)?