-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tracking to Editing Toolkit NUX #46705
Comments
This might require an extension to the https://github.com/WordPress/gutenberg/tree/master/packages/components/src/guide |
@ramonjd Do you mean the "Next" and "Previous" buttons? Those two buttons and the final "Ge Started" button are the only UI elements the user can interact with, as far as I can tell. |
Thanks! Looks to be the case. As far as I can tell we can't track them without some hook into the core package (Guide), so it's something we can think about for the new Onboarding Experience. It might be helpful to know which content slides the user sees. 👍 |
What about recording an event when mounting |
Thanks for the idea @razvanpapadopol! Do you know if there is an obvious way to do that? I see that we're mapping over the array of nux pages . We'll test, but do you think it's a matter of adding something like:
|
Yup! Exactly that is what I had in mind 👍 Here is a fully-working draft PR: #46898 @autumnfjeld feel free to bring it in #46796 or take over and merge separately since it's adding a different event (tracking each individual page and not the entire NUX modal). |
@razvanpapadopol Thanks for the draft PR and the input!! Finally got a working version with everyone's efforts. :). #46796 |
Fixed in #46796 |
This has been merged 🎉 |
Let's add the following tracking to the NUX modal:
isGutenboarding
)We can important
recordTracksEvent
into the module (I think)Context p1603408699056900-slack-CRNF6A9DX
The text was updated successfully, but these errors were encountered: