Events

Last updated:

Where is this feature available?

Self-hosted plans
  • Open-source
  • Scale
  • Enterprise
Cloud plans
  • Free
  • Startup
  • Standard
  • Enterprise

The most important thing that PostHog does is to capture events from your website or application. An event is basically any action a user takes on your website or in your application - if they click a button or visits a page, that's an event.

Live events

Events table

To see your live events table, click 'Events' on the left sidebar. Here you will see a live feed of Events as they are happening.

Event properties

You can view the properties of each event by clicking on the items in the ‘Event’ column:

Events table

You can also click each user to view a their entire event history.

Event filtering

You can filter events by properties and cohorts to focus on specific events that are occurring in your project.

Autocapture event tracking

PostHog can capture all front-end events automatically using a simple JavaScript snippet. This means you do not need to add tracking to individual buttons, or parts of your product to get started at analyzing user behavior.

Limitations of autocapture

While autocapture allows you to track the majority of general events on your website right out of the gate, it is important to note that, for security reasons, PostHog is very conservative regarding input tags. In order to prevent passwords or other sensitive data from being collected, very little data is collected from inputs with autocapture.

Specifically, PostHog autocapture will grab only the name, id, and class attributes from input tags.

If you need to collect more data from inputs, you should use custom events and Actions.

Push-based event tracking

Most users of PostHog will want to combine their back-end data, such as user information, with the front end actions of those users in their UI. There are three ways of passing data to PostHog:

Questions?