Event

A unique block that enables type-safe data submissions

Introduction

The Event block is a unique primitive in BaseHub. Playing with its layout and schema, you can go from a simple page view counter to a complex form submissions table.

The events are tracked in real time, so you will see the incoming events no matter the block’s layout.

Features

  • ✅ Ideal for tracking analytics events or form submissions

  • ✅ Can have a type-safe schema, used to render forms or send events through the SDK.

  • ✅ Can be tracked by Workflow blocks.

Constraints

Contraint

Description

Layout

Events can be displayed in either a Table view, similar to the Collection block, or as a Time-series visualization that that draws an area chart showing daily (or hourly) event frequency up to today.

Schema

Defines which columns will be displayed on the Table view, and it’s used to create the type that will be exposed on the BaseHub SDK.
Useful to correctly ingest events through the SDK. Can also be fetched from the API to render custom forms.