Fix "Click Events" measure has it has no corresponding data in snowplow
requested to merge 414896-fix-click-events-measure-has-it-has-no-corresponding-data-in-snowplow into master
What does this MR do and why?
This MR implements the new linkClicksCount
measure to fix the Click Events
not working within the Visualization Designer since we swapped over to Snowplow.
And while I was there, I also corrected some variable names as they didn't match our code style.
Screenshots or screen recordings
Before | After | |
---|---|---|
Table visualization | ||
Code view |
Screen_Recording_2023-10-04_at_12.01.08
How to set up and validate locally
- Make sure your local GitLab repo is running with a GitLab Ultimate licence.
- Follow these instructions to set up Product Analytics in your GDK.
- Visit the visualization designer, e.g.
http://gdk.test:3000/gitlab-org/gitlab-test/-/analytics/dashboards/visualization-designer
. - Select the “Link Click Events” → “All Link Clicks” measure.
- Confirm a visualization appears and that you can select the drill-down dimensions “Target ID” and “Element ID”.
- Save the visualization and go back to the dashboard listing.
- Create a new dashboard or edit a custom dashboard.
- Select your new visualization and validate that it appears correctly on the dashboard.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #414896 (closed)
Edited by Robert Hunt