Qualtrics is not defined | XM Community
Skip to main content
Question

Qualtrics is not defined

  • September 11, 2024
  • 1 reply
  • 70 views

Forum|alt.badge.img+1

Hi team, I was going through the Qualtrics Questions API, but I am confused on how to use them in our code. When I try to access Qualtrics object in chrome console, there is no such variable present. I know we can use the API in the survey dashboard but since I have some complex logic which I need to execute, I need to use the API in code.
Can anyone help ?

1 reply

Forum|alt.badge.img+1
  • Author
  • September 11, 2024

Seems like the Qualtrics object is present in window object of the iframe in which the survey is loaded.