Skip to main content

Overview

Sending tracked events and passing them to Userpilot is an easy and straightforward approach by calling the tracking method. This is the technical approach for sending tracked events from both Web and Mobile applications, which could contain metadata (event properties). We also support creating tracked events through Userpilot content by clicking on a certain button, and directly creating the tracked events from the events dashboard.

Use Cases

  • Trigger content based on user behavior
  • Analyze visitors’ behavior and activity on your web app
  • Identify how much users are interacting with a certain element of your product
  • Defining a goal using events to measure the impact of your in-flows on user behavior
  • Enable business teams to make efficient decisions about increasing the effectiveness of their digital marketing activities

Tracked Events Function

Sending tracked events and metadata to Userpilot by calling the userpilot.track() function.
//tracking your events using the Track method
<script>
userpilot.track("Event");
</script>
//Specify more information about your event (metadata)
<script>
userpilot.track("Created an Invoice", {
 number_of_invoices: 2,
});
</script>
//Another example
<script>
var meta = {URL: "/growth"};
userpilot.track("Page Event", meta);
</script>
Ensure that the combined size of unique event names does not exceed 512 KB

Button Tracked Events

Userpilot can track events through button clicks by enabling the Track event function for any button within the Userpilot content. Once the user clicks on the button after publishing the related content, data is sent to your Userpilot account showing the tracked event data.
The event needs to occur at least once (related button clicked/triggered live) to show in your dashboard

Tracked Events Dashboard

Once any Tracked Event has been sent to Userpilot it should be found in the Events Dashboard under the Events table. Entering an event will show the related analytics, in addition to the Overview chart that can be clicked to see the related event occurrences in a certain time period and the event metadata or any properties. In addition to the User/Company activity table that shows the total occurrences, and first/last occurrence of the event. There are also other ways to create tracked events such as directly creating them from the Events dashboard by adding the name and event key to track the event in your web app, then sharing it with your dev team to be called upon certain actions by your users. Sending tracked events through HTTP Rest API and the Bulk Data Import API is also supported.

FAQs

Tracked events would show right away, they’re updated in real time.
No, there is no current way to fully delete a tracked event, but they can be archived and won’t show anywhere in the app once done till they’re unarchived again.
I