Onboarding - tracking codes view
Proposal
When a user has filled out the stack details and has created a new product analytics instance with a jitsu_key
saved in the DB, we should show them a view explaining how they can instrument their application.
In the event that we have a jitsu_key
but no data returning from their cube instance, we should continue to show this view until we start getting data.
Design
Implementation plan
- When a
jitsu_key
is defined in the projects GraphQL responds, but we don't have any data in Clickhouse/Cube yet, render this view - Show the Jitsu host setting and the Jitsu key to the user
- List each type of instrumentation and inject the Jitsu host and Jitsu API key into each of the types example code
- For the example code for each type, see https://gitlab.com/gitlab-org/analytics-section/product-analytics/gl-application-sdk-js/-/tree/main/packages/js-sdk
- Create specs
Edited by Robert Hunt