Fix "Click Events" measure as it has no corresponding data in snowplow
Problem to solve
The link clicking metric in the visualization designer was set up to work with the metric logic used by Jitsu. Since we swapped to a Snowplow implementation, this metric no longer works in conjunction with the Snowplow link click tracking plugin.
We should update this metrics logic, so it works with the Snowplow implementation. We should also update the UI text to make it clear that these events are for links being clicked.
This will require editing the devkit and analytics stack schemas to use the link_click
event_name
measure, and the targetUrl
and elementId
visitParamExtractString()
dimensions from unstruct_event
.
More general click events should be handled by custom events as these would be bespoke per application.
Open questions
- Do we want to enable the Link Click Tracking browser SDK plugin on any existing projects? For example:
- gitlab.com
- design.gitlab.com
- …?
frontend - 1️⃣
Implementation plan - - Wait for Add link click events count to Cube schemas (#426569 - closed) to be completed.
- Update the click events metric to use the new measure from the schema.
- Update the text to make sure it references that this is specific to
Link click events
. - Update specs.
Edited by Robert Hunt