Dismiss pop-up survey by clicking outside of the intercept window? | XM Community
Skip to main content
Question

Dismiss pop-up survey by clicking outside of the intercept window?

  • November 21, 2023
  • 2 replies
  • 194 views

Dhananjayan Palaniswamy
Level 2 ●●
Forum|alt.badge.img+3

The default behavior allows respondents to close the pop-up intercept survey only by clicking the X button.

In addition, I would like to be able to close the survey by clicking anywhere outside of the pop-up window to dismiss/ close the survey. 

How can I do that?

2 replies

amey_ghogale
QPN Level 1 ●
Forum|alt.badge.img
  • QPN Level 1 ●
  • May 8, 2025

This is possible with custom coding. You will have to add the custom code within the snippet code of the intercept. In fact you can also close the intercept using Escape button by passing custom code within the snippet.


Dhananjayan Palaniswamy
Level 2 ●●
Forum|alt.badge.img+3

@amey_ghogale Do you have such a custom code?