Overview

Button actions in Userpilot allow you to trigger specific actions when a user interacts with a button. These actions can help guide the user experience, navigate through steps, or trigger external events, such as navigating to URLs or executing JavaScript functions. Button actions provide flexibility in customizing user interactions and can be used across different flows and steps to create a seamless experience.

Use Cases

  • Guide users through multiple steps in a flow or jump to a specific step.
  • Redirect users to a specific URL or dynamic link based on user attributes.
  • Activate external flows, surveys, or JavaScript functions for more complex interactions.
  • Customize user experience by skipping groups or dismissing flows.

Button Action Types

Userpilot provides a variety of button actions to help you control the flow of the user experience. Each action can be used to perform specific tasks, such as navigating, triggering flows, or managing user settings.

Additional Functionality

Update Properties and Track Events

In addition to triggering the actions listed above, you can also update user properties and track events directly from the button actions.
  • Update Properties: You can update an already passed user property (such as a user’s status, role, or preferences) when a button is clicked. For example, you might update a user’s progress or completion status after they finish a flow.
  • Track Events: You can trigger specific events that will be logged for future analysis, helping you track how users interact with the flow and their behavior during the process. This is especially useful for gathering data on button clicks or flow interactions to improve the overall user experience.

FAQs