Skip to content

Add basic custom event name token to viz filter

Jiaan Louw requested to merge 461061-custom-event-name-token into master

What does this MR do and why?

Adds a plain text token to filter by custom event names in the filter based analytics visualization designer for With new filter bar in Custom Visualization des... (#461061 - closed). The new Custom event name token is only available on TrackedEvents.uniqueUsersCount and TrackedEvents.count measures. Also when the schema changes from either of the aforementioned TrackedEvents measures then all custom event name tokens are removed.

This is MR is based on the changes in Add time dimensions and granularity selection t... (!156109 - merged).

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
image image
image

How to set up and validate locally

  1. You need a GitLab Ultimate license.
  2. Follow the guide to enable product analytics on your GDK.
  3. Navigate to Project > Analytics > Analytics dashboards and set up product analytics.
  4. Navigate to Project > Analytics > Analytics dashboards and click on the alert CTA to enable custom dashboards.
  5. Navigate to Project > Analytics > Analytics dashboards and click on Visualization designer.
  6. Enable feature flag: echo "Feature.enable(:analytics_visualization_designer_filtering)" | gdk rails c
  7. Use the filtered search component to build a visualization query.

Related to #461061 (closed)

Edited by Jiaan Louw

Merge request reports