Skip to content

Pop-ups

Configure Button Actions in a Pop-up

Add buttons to a Pop-up to help users take the next step, such as starting a Flow or opening a web page. Each button performs one action when users click it.

Button Actions

The following table lists the button actions available in a Pop-up and their behavior:

Button ActionBehavior
Start FlowWhen the user clicks this button, they are taken to a Whatfix Flow that is attached to the button.
Attach URLWhen the user clicks this button, they are taken to the URL that is attached to the button.
SkipWhen the user clicks this button, the particular Pop-up is omitted and they continue to see the Pop-up until they click the Close or Don't show me again button.
CloseWhen the user clicks this button, they close that particular Pop-up.

Additionally, make the following changes in the button configuration menu:

  • Change the button Type to Primary Button or Secondary Button.

Button_Type

  • Click the Button Style icon to change the Color, Hover color, and Corner radius of the button.

Button_config

  • Click the Button Resize icon to resize the button.

Button_resize

  • Click the Horizontal Align icon to align the button horizontally.

Horizontal Align

  • Click the Vertical Align icon to align the button vertically.

Vertical Align

Configure Button Actions

Expand the following accordions for more details:

Trigger a Flow from a Pop-up

A Pop-up can Trigger a Flow to inform your users about a new feature and then guide them through each step of the workflow.

  • Ensure that you've created the necessary Flow before creating the Pop-up.
  • If your end user completes the Flow till the end, then the Pop-up does not appear again irrespective of the occurrence count set.
  • If the end user doesn't complete the Flow, the Pop-up appears as per the configured occurrence count.

Use the following steps to attach a flow to a Pop-up using the Visual Editor:

  1. Hover your cursor over the button and click to open the Button configuration menu. Button_configuration_menu
  2. Next to Action, select Start flow option from the dropdown. Select_Start_Flow
  3. Click the icon next to Select Flow. Select_flow
  4. Select the Flow from the list. select_flow

Attach a URL to a Pop-up

A Pop-up triggers URLs to open links, articles, survey forms, registration forms, and more.

Use the following steps to attach a URL to a Pop-up using the Whatfix Dashboard:

  1. Hover your cursor over the button and click to open the button configuration menu.
  2. Next to Action, select the Attach URL option from the dropdown menu.
  3. Paste the copied URL into the Enter URL field.
  • Use a dynamic URL to keep the button's URL valid when part of the domain changes, such as the subdomain or environment.
  • A dynamic URL adjusts automatically, so the same link works on both https://dev.example.com and https://example.com.
  • To create a dynamic URL, wrap the dynamic part of the URL in curly braces when you enter it in the Enter URL field, as shown in the following image:

The primary button is associated with a positive user action based on the Pop-up's contents. For example, trigger a flow or open a URL.

The Secondary Button is used to close or dismiss the Pop-up without triggering any specific action.