Skip to content

Add instrumentation details to General -> Settings -> Analytics settings

Elwyn Benson requested to merge 405368-analytics-settings into master

What does this MR do and why?

Adds product analytics instrumentation instructions to the project -> settings -> general -> product analytics section.

When not yet onboarded, this shows a link to the onboarding flow.

Also update instrumentation instructions to match latest design and copy from #390109[general-settings-product-analytics.png], including combining code snippets and removing collapsible sections.

Screenshots or screen recordings

Project settings page
before after (project not onboarded) after (project onboarded)
image image image
Onboarding flow
before after
image image

How to set up and validate locally

Note: This feature has a lot of setup steps. If you need help please ask me or I can step through these during a call with you.

  1. Follow these instructions to setup Product Analytics in GDK.
  2. Create a new project.
  3. View the project -> Settings -> General
  4. Expand "Product Analytics" section, and verify there is a new button linking to the onboarding flow for the project to set up product analytics

then complete the onboarding flow, verifying the instrumentation instructions show as expected during this. Then

  1. View the project -> Settings -> General
  2. Expand "Product Analytics" section, and verify the instrumentation instructions show as expected.

MR acceptance checklist

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

Related to #405368 (closed)

Edited by Elwyn Benson

Merge request reports