Can a capture the browser size? | XM Community
Skip to main content

Hello everyone,
I am a new user to qualtrics and going through the tutorials, but I had a basic question. I know you can capture the screen resolution, but can you also record a survey takers browser window size? If so how?
I thought it might be after reading this: https://www.qualtrics.com/support/website-app-feedback/intercepts-tab/edit-intercept-section/action-set-logic/user-info-conditions/

Yes, using JavaScript/jQuery. First define browserWidth and browserHeight embedded data fields in the survey flow. Then JS:
Qualtrics.SurveyEngine.setEmbeddedData("browserWidth",jQuery(window).width());
Qualtrics.SurveyEngine.setEmbeddedData("browserHeight",jQuery(window).height());


Leave a Reply