Skip to content

Send tracking event for Duo Chat feedback from backend

Alejandro Rodríguez requested to merge duo-feedback-snowplow-backend into master

What does this MR do and why?

Send tracking event for Duo Chat feedback from backend

Currently when a user submits feedback for a Duo Chat question, the tracking event is sent from the front-end. This has the downside of being caught by Ad/Tracking blockers on the client-side. We move sending the tracking event to the backend to avoid this.

Closes #451006 (closed)

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

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

  1. Configure Snowplow Micro in your local instance https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/main/doc/howto/snowplow_micro.md
  2. Ask chat a question, click on "Give feedback to improve this answer." on the response
  3. Fill in the feedback modal
  4. Check on your local Snowplow Micro instance (http://localhost:9091/micro/ui) that the event was sent correctly

Merge request reports