How can I limit my users in the experiment to use Google Chrome and Microsoft Edge browsers only? | XM Community
Skip to main content
Question

How can I limit my users in the experiment to use Google Chrome and Microsoft Edge browsers only?

  • May 30, 2023
  • 3 replies
  • 68 views

Forum|alt.badge.img+6

How can I limit my users in the experiment to use Google Chrome and Microsoft Edge browsers only?
I don't want them to enter from different browsers, which is very important for my experiment.
Thank you !

3 replies

ArunDubey
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+41
  • QPN Level 8 ●●●●●●●●
  • May 30, 2023

You can simply apply a JS to hide next button when user will enter from different browser and give information on same page like “If you want to continue survey and proceed further, please copy the same link and paste it on Chrome or Edge browsers only. Show next button if respondent will enter from Chrome or Edge only.


Forum|alt.badge.img+6
  • Author
  • Level 1 ●
  • May 30, 2023

How can I check which browser it is in?


ArunDubey
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+41
  • QPN Level 8 ●●●●●●●●
  • May 30, 2023

You can get the information from Qualtrics Meta info variable or from UserAgent metadata embedded field.

 

Also you can use jQuery to get the information. Try this.

if($.browser.chrome) {
alert("Google Chrome");
}
if ($.browser.msedge) {
alert("Microsoft Edge");