Updates opt-in prompt condition by ID
Note: If autoPrompt is set to true, seconds_delay, scroll_delay, and pages_delay should be set to NULL. If autoPrompt is set to false, provide a value for only one of the delay options, setting the other two to NULL (e.g. seconds_delay = 5, scroll_delay = NULL, pages_delay = NULL)
If values are set for multiple delay options, they will be evaluated in the following order: autoPrompt, scroll_delay, seconds_delay, pages_delay.
When updating the default prompt condition, priority should be set to 0 and page should be set to *
Page
Prompt ID to add condition
Auto Prompt (1 = true, 0 = false)
Priority (1-10, 10 = highest)
Device Type (any, mobile, desktop)
Seconds Delay (number of seconds)
Scroll Delay (percent of page e.g. 50)
Pages Delay (pages viewed e.g. 3)
Cookie Required (name of cookie)
Browser (any, chrome, firefox, edge, opera, safari)
Disabled (1 = true, 0 = false)
200