Ask a Question
Back to All

I have other web integrations which might overlap and conflict with Sprig. Is it possible to tell Sprig not to display a survey under certain contexts or views?

As part of tracking events through Sprig’s Web SDK, your team can define a callback passed to the showSurveyCallback parameter, which will be used whenever a visitor is eligible for a survey.

Your function needs to return a boolean, when true, will then allow the Sprig Web SDK to display the survey to your visitor.