Skip to content

Add missing `dist/` to script src for product analytics HTML setup

Robert Hunt requested to merge fix-pa-html-script-setup into master

What does this MR do and why?

It was identified that the HTML setup instructions for product analytics was missing the dist/ directory and returning 404.

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

Please follow the instructions at https://gitlab.com/gitlab-org/gitlab/-/snippets/2474959 to enable Product Analytics on your GDK.

With the Product Analytics feature enabled:

  1. Go to /gitlab-org/gitlab-shell/-/product_analytics/dashboards or any other project not yet instrumented.
  2. Setup product analytics until you get to the tracking codes page.
  3. Confirm the HTML setup instructions shows the correct script src and when visiting the src URL it shows the compressed script.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports