Serve
Last updated
Was this helpful?
Last updated
Was this helpful?
Serves an eligible survey.
The account's unique ID.
PI-1234567890
The type of device that's requesting the survey/poll. Use 'desktop' if unsure.
Conditionally required. If device_type != 'native_mobile' OR 'email'. Response will be wrapped in callback code. For example, passing "console.debug" will result in "console.debug('{}')".
console.debug
The device's unique ID.
00000000-0000-4000-f000-000000000001
If 'true' then it will return surveys in DRAFT status or with frequency caps enabled. (These are not returned otherwise).
true
Also known as "Context Data". Used to specify context in which the survey appeared. See https://docs.pulseinsights.com/implementing-pulse-insights-dev/implementing-on-web-and-mobile-web/ingesting-contextual-data-for-targeting-and-analysis#context-data for more details.
The number of times the user has visited the site. Used to target surveys.
Used to identify a user across devices and advanced survey targeting. See https://docs.pulseinsights.com/implementing-pulse-insights-dev/implementing-on-web-and-mobile-web/client-key for more details.
The number of times the user has visited the page. Used to target surveys.
Native-Mobile only. The number of days the app has been installed for.
1
Native-Mobile only. The number of times the app has been launched.
7
Native-Mobile only. The view used to access the survey.
domain.com
Native-Mobile only. The type of mobile device.