my.QUDisplayPrompt
Similar to display() but utilized to bypass the creative and only show the intercept target (typically a Qualtrics survey)
Sample Code
copy
my.call('QUDisplayPrompt',res => {
my.alert({
content:res
})
})
Parameters
Name | Type | Required | Description |
autoCloseSurvey | bool | false | Whether to automatically close the questionnaire |
Success Callback Function
Name | Type | Required | Description |
success | bool | true | Whether the JSAPI call was successful |
code | number | true | 0:success, -1:fail |