You can use the Audience: Advanced Settings for more control over when a survey is displayed. This will provide with a piece of JavaScript to trigger the survey.
This is useful for cases where you want to:
- Display your survey to a specific segment of users; or
- After your users perform a specific action on your website.
Place the javascript inside the <head> tag of any page on which you want the survey to appear or trigger it from any JavaScript event handler.
The standard audience settings will no longer apply when using the advanced javascript triggering.
The survey can also be triggered directly from the JavaScript console for testing purposes.
By default, a survey using the javascript trigger will display immediately once the javascript is loaded. If you want to add a delay of X seconds, you can use the setTimeout function.