Solved
Possible to use the IP address during a survey?
Hi,
Is it possible to use the IP address while the survey is running? I tried ${e://Field/ipaddress} but this doesn't seem to refer to anything.
Thanks,
Thomas
Best answer by PraDeepKotian_XM
hello @tgrayguy ,
You can grab ip address of user using jQuery api from another website.
Here is the link for the website.
* To implement the same create a embedded variable in survey flow eg. embeddedDataVariable
* Paste below code in any question before using the embedded variable.
jQuery(function() {
jQuery.getJSON("https://api.ipify.org?format=jsonp&callback=?",
function(json) {
Qualtrics.SurveyEngine.setEmbeddedData( 'embeddedDataVariable', json.ip);
}
);
});
!

Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

