We are using the startSurvey method in the intercom/messenger-js-sdk@0.0.6 package to trigger surveys in the app. After calling this method, it takes a delay of 5-7 seconds to call fetch_active_survey. Is there a way to reduce this delay and make it faster so that the survey is visible within 1-2 seconds in our app?
Answered
Why fetch_active_survey API is called after a delay of a few seconds when startSurvey is triggered from the code?
Best answer by mateusz.leszkiewicz
Hi Lakshya Bhardwajz It’s Mat from the Support Engineering Team 😀
If you are referring to this package 👇 there is a newer version of it 0.0.13, can you try to use it and let me know if that does the trick?
https://www.jsdelivr.com/package/npm/@intercom/messenger-js-sdk
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Join the Intercom Community 🎉
Already have an account? Login
Login to the community
No account yet? Create an account
Intercom Customers and Employees
Log in with SSOor
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.