You can configure the on-site survey properties as described below.
By specifying the scopeType as global, you can make a survey submitted once per each scope value across different browser sessions/visitors. session
Pass business data for custom rules.
Show surveys to a visitor everytime a new browser session starts.
Show a survey to a visitor every day irrespective of them closing/submitting the same survey. By specifying today's date as the survey scope, one can make a survey re-appear to a visitor each day even if the visitor has closed or submitted it.
Show a survey once to a user logged in from different browsers. If you want a survey to be submitted once per logged in user irrespective of different browser sessions, then the specify logged in user's email or userId as the scope with scopeType as global.
This method allows you to override survey settings as configured on Segmentino dashboard. It also overrides any provided global configuration properties on the page. This method accepts all survey configuration properties. Usage Examples
Open a survey on click of a button.
Open a survey on page scroll (down).
Please scroll down a bit to see this in effect. Also, note that we are calling Segmentino.survey.render by passing it surveyId option.
Pass custom data / rule data.
Track survey view in console.
This method clears any rendered survey. Usage Example
- Clear a survey on click of a button.