Collect and forward analytics events to your ClickHouse tables.
Edgee Event | ClickHouse record | Description |
---|---|---|
Page | A new record in the configured table | Full JSON dump of the Page event |
Track | A new record in the configured table | Full JSON dump of the Track event |
User | A new record in the configured table | Full JSON dump of the User event |
edgee/clickhouse
from the list of available components.JSON
support:
JSONEachRow
.
If your ClickHouse version supports JSON
or Object('json')
types, both context
and data
will contain additional JSON sub-fields, whose schema is automatically inferred at runtime.
Please note that:
context
are always the same, so you can use queries such as SELECT context.client.ip AS ip FROM edgee
data
depend on the value of event_type
, so you can use queries such as:
SELECT data.Track.name FROM edgee WHERE event_type = 'Track'
SELECT data.Page.path FROM edgee WHERE event_type = 'Page'
edgee/clickhouse
as the component name: