Button Actions
Button actions define what happens when a visitor clicks a button in your widget. You can submit form data, redirect visitors, close the widget, or trigger custom behavior.
Button Types
Each button has a type that determines its primary behavior.
Submit
Submits the form data to your Popup contact list.
Close
Closes the widget without submitting data.
Link
Redirects the visitor to a specified URL.
Custom
Triggers only the configured On Click Actions without any default behavior.
Adding Actions
To add actions to a button, click the On Submit Actions or On Click Actions section, then press Add Automation.
Popup Actions
These actions are built into Popup and available for any button:
- Go to widget screen — navigate to another step within the widget
- Go to URL — redirect the visitor to a new page
- Go to URL and send data — redirect and pass form field values as URL parameters
- Send email notification — send an email when the button is clicked
- Open a widget — trigger another widget to appear
- Execute JavaScript — run custom JavaScript code
Integration-Related Actions
If you have connected integrations, additional actions will appear in the list. These let you send data to external services when a button is clicked.
!Integration action configuration
Using Multiple Actions
You can combine multiple actions on a single button. Actions execute from top to bottom in the order they are listed.
Actions Tutorial
Here is a detailed walkthrough of each action type.
Go to Widget Screen
Select which widget step the visitor should see next.
Go to URL
Enter the destination URL. The visitor will be redirected after clicking.
Go to URL and Send Data
Redirect the visitor and append form field values as query parameters. For example:
https://example.com/?email={email}&name={name}
!Go to URL and send data action
Reading Form Field Data with Variables
Use {vars} syntax to reference form field values in your action configuration. Each variable corresponds to a form field name — for example, {email} pulls the value from the email field.
Send Email Notification
Configure the recipient, subject, and body for an email that sends when the button is clicked.
!Send email notification action
Open a Widget
Select another widget to open when the button is clicked.
Execute JavaScript
Enter custom JavaScript that runs when the button is clicked. Use this for analytics events, custom integrations, or any other client-side logic.
Link and Close Button Details
Link buttons include a URL field and an option to open in a new tab.
Close buttons dismiss the widget. You can add On Click Actions to run before the widget closes.
!Custom button with On Click Actions
Need more help?
If you've worked through this and still need a hand, contact support — we'll dig in with you.