CROSS origin error | XM Community
Skip to main content

Hi
I have a survey in an intercept that is a pop up in a chat bot, i need to be able to recognize when the customer took the full survey to stop the display of the button that triggers the survey. I was trying to do it by capturing the EndOfSurvey but i am getting a cross origin error.
anyone know how can i work with this?

Hi Erikahuer,
CORS errors occur on the browser end as a security. By default, browsers won't let websites access information you've obtained from other websites. There's plenty of articles out there with different approaches to addressing CORS but you'll likely have to do a bit of researching and experimenting to find the right approach.
Interecepts aren't really my strong suit - somebody out there might have an easier solution (JavaScript?).


Leave a Reply