How to create Custom Events?
Custom events are user-defined tracking actions that let you capture specific interactions unique to your product or business.
What are Custom Events?
Custom events are user-defined tracking actions that go beyond the standard, pre-set events (like page views or clicks). They let you capture specific interactions that matter to your product or business but aren’t covered by default tracking.
With Uzera, you can capture these events as they are triggered by your users, filter, and launch features based on them.
Creating Custom events from Clicks
Once installed, the Uzera script starts capturing button and link clicks for you automatically. They can be viewed in your the Insights page within each user's journey.
Go to insights and click on any user.

You will be able to see their journey which will include various button or link clicks.

You can pin these events by clicking on the pin button in the right. To unpin it, click on the button again.

Creating Custom events with uzera() method
Uzera script also provides a method to track custom events. To track events through this method, use the following code as a reference:
uzera("track", {
event: "Feature Used", // Replace with your custom event name, required field
data: {
feature_name: "Export Report",
email: "john.doe@example.com",
workspace_id: "ws_98765",
},
});
Add this snippet in your code and replace with the data that you want to send. You can track these custom events with data or without data, but event is required.
Last updated