More Control Over Web Widget Popup?

(Enchiridion) #1

Is there any way to have more control over the popup welcome text for the web widget?

I’d like to programmatically set the text and trigger the display of the popup on a per page and per event basis, such as when a user has scrolled to specific elements on a page. Then as they scroll to the next element, hide the previous popup and show another with different text.

I figured out that data-fxo-widget attribute is base64’d JSON, so I can set the initial welcome text there, however it doesn’t let me update it once the script has loaded.

I found several undocumented config options that allow some control: revealAfterSecs,
welcomeRevealAfterSecs, welcomeHideAfterSecs, and hideWelcomeForDays.

There’s several private methods for controlling the popup: _revealWelcomeText, _hideWelcomeText, _showPopover, and _hidePopover. It’d be great if these were exposed so I could use them.

I’d prefer a FlowXO API way to do this so I don’t have to reinvent a popup solution.

Thanks!

(Karen Barker) #2

Hi @Enchiridion,

Unfortunately there are no plans to expose these as part of the public Flow XO API at the moment. It has been designed that once a user has seen the message once, they won’t see it again until 30 days later as otherwise it could be intrusive to the use of the website.