Skip to content

Add search analytics event

Dmitry Gruzd requested to merge 238116-redis-hll-search-analytics into master

What does this MR do?

This MR adds tracking of unique users who visit the /search page.

Functionality is behind the :search_track_unique_users feature flag

We introduce 3 metrics:

  • unique users of search
  • unique users of advanced search (subset of the first one)
  • unique paid users (searches within namespaces/projects with a paid plan)
page target id
/search i_search_total
/search i_search_advanced
/search i_search_paid

Feature flag rollout issue: #240906 (closed)

#238116 (closed)

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Closes #238116 (closed)

Edited by Mark Chao

Merge request reports