Parse and save structured event fields in snowplow collector
The Rails snowplow collector currently does not parse/save structured event fields. This makes it difficult to identify the subject of an event.
The structured event fields are already part of the DB schema, so it should be as simple as adding mappings (params -> DB) for these fields to the snowplow collector.
For example, when an event is fired with Gitlab::Tracking.event('epics', 'promote')
, epics
is the se_ca
param and maps to the DB field se_category
. promote
is the se_ac
param and maps to the DB field se_action
.
/cc @jeromezng
Edited by Alishan Ladhani