1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-04-10 01:16:39 +02:00
unleash.unleash/frontend/src
Nuno Góis 3c48171c78
feat: add user tracking to demo (#3637)
https://linear.app/unleash/issue/2-946/explore-and-implement-options-for-user-tracking

Adds user tracking to the interactive demo, so we can measure how users
are using this feature and improve it in the feature.

## Events

- **start** - When the user starts the demo by clicking on the "Try
Unleash Demo" button;
- **finish** - When the user finishes the demo by seeing the "You
finished the demo" dialog;
- **restart** - When the user decides to restart the demo on the "You
finished the demo" dialog;
- **close** - When the user closes a demo dialog;
- **topic** - In what topic this happened (topic title, can also be
`start` if user closes on the start dialog);
- **step** - In what step this happened (step number, `1` would mean
first step);
- **start_topic** - When the user decides to start a specific topic by
clicking it in the list;
  - **topic** - What topic was clicked (topic title);
- **ask_questions** - When the user decides to ask questions by clicking
the appropriate option in the top banner;
- **see_plans** - When the user decides to see the plans by clicking the
appropriate option in the top banner;
- **plan** - What plan was clicked (one of: `open_source`, `pro`,
`enterprise` or `compare_plans`);
- **open_demo_web** - User decided to open the demo website using the
link on the start dialog;
- **view_demo_link** - User decided to open the start dialog again on
the bottom of the topics list;

Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#3537
2023-04-27 14:12:02 +01:00
..
__mocks__
assets feat: demo ui-ux improvements (#3634) 2023-04-27 08:15:17 +01:00
component feat: add user tracking to demo (#3637) 2023-04-27 14:12:02 +01:00
constants refactor: remove old components after variants per env (#3110) 2023-02-14 16:03:53 +00:00
contexts Custom event tracking (#2151) 2022-10-10 14:06:44 +02:00
hooks feat: add user tracking to demo (#3637) 2023-04-27 14:12:02 +01:00
interfaces chore: remove projectScopedStickinessFlag (#3620) 2023-04-26 17:07:09 +03:00
openapi Disable and enable strategies - frontend (#3582) 2023-04-26 11:41:24 +02:00
themes feat: demo ui-ux improvements (#3634) 2023-04-27 08:15:17 +01:00
types chore(deps): update dependency prettier to v2.8.1 (#2509) 2022-12-27 10:45:43 +01:00
utils feat: CR title from review page (#3509) 2023-04-13 12:24:31 +03:00
index.tsx feat: implement demo guide steps logic (#3528) 2023-04-18 10:56:15 +01:00
setupTests.ts
vite-env.d.ts