Track Events

Events

GoSquared events are a versatile way of tracking anything that is happening on your site or app. User actions, application errors, state transitions, and activity of all kinds can be tracked as an event.

Popular events are aggregated by name in the Trends dashboard.

Top level event names are searchable/filterable in People CRM. Optionally, you can include extra data in the event body. However, event body data is not currently searchable, but it can be viewed when browsing a specific profile in People CRM.

How many different event names/types can I track?

Take some time to think about the name you give to your events. You can name them anything you like, but it's best to use a clear, concise name.

Each GoSquared project can track up to 1000 custom events. Above this limit, events with new names will be ignored.

Event Anatomy

NameDescriptionTypeDefault
Event NameThe name of the eventStringundefined
Event DataCustom data to store with the event (can be viewed in People CRM but is not filterable or searchable)Object{}

Usage

_gs('event', 'Event Name', {
    // store extra data along with the event
    // any JS type is supported
    someHelpful: 'data'
  });

  _gs('event', 'Event without properties');