Skip to content

Custom events

A custom event is something your website reports besides a page view: a sign-up, a purchase, a video played. Your developer sends it with one line of JavaScript, described in Sending custom events. Clicks on outbound links, downloads and email links can be counted without any code.

Once a site sends events, the dashboard shows:

  • Events among the numbers at the top: how many events happened in the range;
  • an Events panel with every event name, how often it happened, and on how many page views.

The Events panel: event names such as Outbound Link: Click, File Download and Signup, each with its number of events and the page views they happened on

The panel only appears when the site had events in the range or the period before, so sites without custom events look as before.

Click an event’s name to filter the dashboard by it. Two things happen:

  • the Events panel shows the event’s properties, for example which plan people signed up for. Choose a property to see its values, and click a value to filter by it too;
  • the rest of the dashboard shows only the page views on which the event happened: which pages people signed up on, where those visits came from, and so on. The dashboard says so under the filters.

The Events panel filtered by the Signup event: its plan property, with the values Pro, Free and Business and how often each was sent

Remove the filter to see all events again.

Events are counted per page view, never per person. An event’s numbers are how often it happened and on how many page views. A person who signs up twice on two different days is two sign-ups on two page views.

Properties can’t carry personal data. Upbeat Analytics drops any property whose name is or ends in id, email, mail, phone, user, uid, ip or name, and any value that looks like an email address or phone number. The developer page has the full rules.