Add instrumentation details to General -> Settings -> Analytics settings
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
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.
- Follow these instructions to setup Product Analytics in GDK.
- Create a new project.
- View the project -> Settings -> General
- 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
- View the project -> Settings -> General
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #405368 (closed)