To track clicks on a button in a flow step (a tooltip, speech bubble or modal), add a Track event action to the button. This is useful for buttons that open an external page, such as a webinar sign-up, where the click is the only thing you can measure.
![]()
There are three ways to track a flow button click. Most people use the first.
Method 1: Add a Track event action to the button
Open the step and click the button.
Click Add action and choose Track event.
Pick an existing event, or type a new name to create one.
Publish the flow.
Each click now tracks that event for the user. The event shows under Settings → Events, and you can use it in Chart Builder, segments and auto-start conditions. Events created this way aren't listed on the Event trackers page, which only shows no-code trackers built there.
The same action works on buttons in launchers, banners and announcements. See Button Click Tracking.
Method 2: Count clicks with a hidden step
A hidden step counts as a step view in the flow's analytics, so you can use one to count clicks.
Add a hidden step after the step with the button.
Give the hidden step a trigger that's always true, such as "Water is wet".
Move the button's actions onto that trigger, and connect the button to the hidden step.
Make sure the hidden step always ends with an action, such as dismiss, so users don't get stuck on it.
The hidden step's views in the flow's Analytics step funnel now equal the number of clicks. If the button already leads to a normal step, you can read that step's views the same way.
![]()
Method 3: Record clicks in a user attribute
Add a Set attribute action to the button. For example, set a true/false user attribute to true when the button is clicked.
To count how many times each user clicks, use a number attribute and have the Set attribute action add 1 on each click.
You can then filter users or build a segment of users who clicked. See Users and Segments.
![]()
How do I track a click on a tooltip's target element?
When a tooltip has no next step, track a click on its target element with a hidden step (Method 2) or a Set attribute action (Method 3).
To track clicks on elements in your app outside a flow, use a no-code event tracker instead.