With the Popups app, you can easily create and control popups that appear on your main website from within the Soapbox administrator. There are two different types of Popups that you can create: a Custom Popup Takeover and a Donations Popup Takeover. The Custom Popup Takeover allows you to define a hero image, a title, a description and one or more action buttons.
An example of a Custom Popup Takeover can be seen here:
To use either, tour first step is to add the Popups code to your main website.
After the code has been added, you can create Popups in the Soapbox administrator that will appear on your main website.
To create a Custom Popup Takeover in the Soapbox administrator:
Define the contents of the Popup
- Go to the Popups Manager
- Click New
- In the modal, click Custom Popup Takeover
- For Name, enter a name for the popup to be used in the administrator to identify it
- For Published, select whether you wish the Popup to be published. Published Popups are displayed on a website with the Popups code included when the conditions of a Popup are met. Unpublished Popups no longer appear on a website with the Popups code included even if the conditions of a Popup are met.
- For Title, enter the text you wish to appear to visitors at the top of the Popup
- For Description, enter the text you wish to appear to visitors under the Title at the top of the Popup
- For Upload Image, click Upload File and select an image from your computer that you wish to use in the Popup. The optimal dimension for the image is 464 px wide x 193 px high.
- For Select Image, if you have uploaded an image earlier, you may select it from the dropdown
- Click Apply. By clicking apply, your Popup will be saved and the additional tabs in the add/edit view will become active.
Define the Action and Cancel Buttons
A Popup can have one or more action buttons that you define as well as a cancel button that allows the visitor to easily close the Popup.
- Click the Buttons tab
- If you wish to display one or more action buttons in the Popup, click New
- For Button Text in the modal popup, enter the text you wish to appear in the button to the visitor
- For Destination URL, enter the URL to which you wish to send the user if they click the button. This may be either a full URL for another page or website (e.g., https://www.example.com/give), an anchor tag for a Donations modal popup on the current page (e.g., #donate), or the full URL for another page that includes an anchor tag for a Donations modal popup (e.g., https://www.example.com/give#donate)
- Click Save
- Repeat for each action button you wish to add
- For Display Cancel Button in the Cancel Button Options section, choose whether you wish to show a cancel option
- For Cancel Button Text, enter the text you wish to display to the visitor
- For Cancel Button Type, choose to display but cancel option as text or as a button
Define the Trigger or Triggers that open the Popup
There are three types of triggers that can open a Popup. You can use one, two or all three to open the popup - though it is customary to have only one trigger per popup.
- Click the Triggers tab
- Click New
- For Type, select one of the following:
- On Exit-Intent: This fires when the visitor's mouse moves out of the browser window;
- After X Percent Scrolling: This fires when the visitor moves down the percentage of the page you define;
- After X Seconds: This fires after the visitor has been on the page for the number of seconds you define.
- For Type Details:
- If you selected Exit-Intent for Type, the Type Details parameter will not be shown
- if you selected "After X Percent Scrolling" for Type, enter the percentage you wish to use to fire the event
- If you selected "After X Seconds" for Type, enter the number of seconds after which you wish the event to fire
- Click Save
- Repeat if you wish to add another type of trigger to the Popup
Define the Audience Segment or Segments that determine which visitors see the Popup
There are two types of Audience Segments that can define who sees a Popup. One is based on the current URL of the visitor. The other is based on whether the Popup has already appeared to the visitor. Both types of Audience Segments can be used at the same time.
- Click the Audience Segment tab
- Click New
- For Type, select one of the following:
- Frequency
- Current URL
- For Type Detail:
- If you selected Frequency for Type, enter values for a) the maximum number of time(s) the Popup will appear per visitor and b) the minimum amount of time between two appearances in seconds, minutes, hours or days.
As an example, you may wish to have the Popup appear to a visitor a maximum of 4 times with a minimum of 1 day between appearances. - If you selected Current URL for Type, enter the logical operator and the text used to evaluate the URL. If you wish, you may add multiple Current URLs by clicking Add Additional URL. If multiple URLs are added, the Popup will be displayed when any of the conditions are met - not when all of the conditions are met.
As an example, you could choose to have the Popup appear on all pages of your main website but selecting "contains" and entering all of or a portion of your domain.
You could choose to have the Popup appear on only one page by selecting "equals"and entering the exact URL of the page where you wish the Popup to appear.
You could choose to have the Popup appear on three specific pages by selecting "equals"and entering the exact URL of the one of the pages page where you wish the Popup to appear and then clicking the Add Additional URL link to repeat the process two more times.
- If you selected Frequency for Type, enter values for a) the maximum number of time(s) the Popup will appear per visitor and b) the minimum amount of time between two appearances in seconds, minutes, hours or days.
- Click Save
- Repeat if you wish to add another Audience Segment
After you are finished, click Save to commit your changes and exit the add/edit Popup view.