To track clicks on a button in Userflow content, add a Track event action to the button. Each click then records an event for the user, which you can chart, use in segments and auto-start conditions, and send to your analytics tool. This works on buttons in flows, launchers, banners and announcements.
How do I track clicks on a button?
Open the flow, launcher, banner or announcement in the builder 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 content.
The event shows under Settings → Events. It isn't listed on the Event trackers page, which only shows no-code trackers built there.
Where do I see the clicks?
Chart Builder: create a usage chart for the event to see clicks over time. See Chart Builder.
A user's Activity feed: open the user in Users to see each click.
Your analytics tool: the event is sent through your integrations like any other Userflow event.
Announcements: button clicks in an announcement don't appear in the announcement's own analytics. Read the event in Chart Builder instead. See Announcements.
Other ways to track a button in a flow
In a flow you can also count clicks with a hidden step, or record them in a user attribute. Both are covered in Track flow button clicks.
What about buttons in my own app?
The Track event action only works on buttons inside Userflow content. To track clicks on buttons or links in your own app, use a no-code event tracker.