Defining a variable for desktop vs. mobile participation | XM Community
Skip to main content
Question

Defining a variable for desktop vs. mobile participation

  • May 2, 2025
  • 5 replies
  • 96 views

Forum|alt.badge.img+2

Hi! I want to track if participants took part in a survey with their mobile device / a tablet / a desktop computer.

 

I know I can add a hidden question with browser meta info. However, this tracks the user agent and other stuff, but isn’t aggregated in the way described above.

 

So my question is how can I aggregate such info to get this broader info? I know from other platforms (like Decipher) that they automatically probvide this aggregated info. Is this also available on Qualtrics or is there maybe a matching list of browser user agents to devices?

5 replies

  • Level 4 ●●●●
  • 275 replies
  • May 2, 2025

You can set the condition in survey flow and create embedded data how the survey is being taken.

Something like this.

 


Forum|alt.badge.img+2
  • Author
  • Level 2 ●●
  • 29 replies
  • May 2, 2025

Yes, that was my idea as well. However, AFAIK, “Device Type” is not something Qualtrics automatically saves, no? Or am I mistaken, so from the Meta Info I only get: 

Device Type is part of the user agent, but since there are uncountable user agents and devices, I was wondering if Qualtrics has some pre-coded aggregations for it, so that I can basically use a similar survey flow as you have described above.


Forum|alt.badge.img+2
  • Author
  • Level 2 ●●
  • 29 replies
  • May 2, 2025

Ah, nevermind...I just see that Device Type is indeed pre-coded and available in the branch condition! That’ll work.

 

However, I think with this approach, I can make distinctions between Mobile vs. non Mobile. But how can I distinct mobile from tablet, e.g. iPhone vs. iPad. Because in the device type it also has “Android”, but this could be a mobile phone or a tablet.

 

Is there any information about how device type is generated?


  • Level 4 ●●●●
  • 275 replies
  • May 2, 2025

May be you should make use of screen resolution.


Forum|alt.badge.img+2
  • Author
  • Level 2 ●●
  • 29 replies
  • May 2, 2025

Yes, I found this in another question, but would still need some assistance in setting up the proper JS code: