For my intercept, I am using "Display with custom Javascript code" for displaying the intercept. I am integrating qualtrics with a single page application on Angular JS. I have placed the Zone code in index.html and I am loading the survey using QSI.API.load() and QSI.API.run().
The issue is that when I redirect from another page to the target page(where survey needs to be loaded) , even though the statements QSI.API.load() and QSI.API.run() are executed, the survey does not load on that page. I also don't see any qualtrics related calls made on that page.
When I reload the target page, the statements QSI.API.load() and QSI.API.run() are executed again, and the survey is displayed as expected and qualtrics related calls are also made.
Please suggest what I can do to fix this.
Thanks.
in the Console:
`QSI `
(make sure it gives you a return)
`QSI.API.run()`
Is there anything on the redirecting page that disqualifies the visit from triggering the intercept on the target page? Is there any logic on the intercept that, for example, excludes people who were shown another intercept in the same zone within X days?
Hi, I am facing the same issue. Also, I've implemented a logic in the intercept: if another intercept is displayed to the contact from the directory within 90 days, then the intercept will not be visible to that person.
We also face this issue.
Only intercepts that already “pass” the condition on the very first page load appear (such as the feedback button, which is shown on every page always).
But any intercept with a condition, such as “time focussed on site greater than 2 minutes” does not appear. Because like
Only when you do a real page refresh (F5), these qualtrics calls are made, and the intercepts are shown.
(or, when you go in the console and run the code to trigger the debug window, i.e.
QSI.API.unload();
QSI.isDebug = true;
QSI.API.load();
QSI.API.run();
Then also the popups load.
But neither refreshing a page, or running the code in console, is something that an actual website visitor would do
Did anyone find a solution for this behaviour of Angular based sites?
Ha, we actually just found the solution, we just needed the right terminology to search on. This type of behaviour is called “Single Page Application”.
On https://www.qualtrics.com/support/website-app-feedback/common-use-cases/single-page-application/ a solution is mentioned, on the Website Feedback project there is an option called “Single-page application support” meant to Re-evaluate intercept logic when the URL changes.
Mentioning this here for anyone in the future who is looking for this
Ha, we actually just found the solution, we just needed the right terminology to search on. This type of behaviour is called “Single Page Application”.
On https://www.qualtrics.com/support/website-app-feedback/common-use-cases/single-page-application/ a solution is mentioned, on the Website Feedback project there is an option called “Single-page application support” meant to Re-evaluate intercept logic when the URL changes.
Mentioning this here for anyone in the future who is looking for this
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.