Open pjhul opened 1 year ago
Strongly agree with this! Lots of very impactful stuff.
Likely worth getting input from @raquelmsmith and @kappa90 for the getting started sections as they've spent a lot of time thinking about onboarding. And a key part of onboarding is the docs and getting everything setup properly.
I wonder if this landing page is less important as most people arrive via google search/command line search/clicking links in the subheader?
The getting started section should have an extra page about everything you need to get all the analytics setup. Potentially with a code snippet that both turns on session recording and has an example feature flags?
Side point - @corywatilo and I have been exploring the idea of in-app sidebar docs (similar to google sheets). Worth keeping in the back of your mind when doing docs stuff :)
I can definitely see how this page needs a reboot, and your ideas sound solid 💪 One thing to keep in mind is that the current page leave someone with no question about where to go to find code snippets for their specific library. I've had issues in the past in some docs where I go to the page and the button to select my library isn't super obvious and I either get really frustrated until I find it, or leave. In the stripe docs, the button to select library goes away as soon as you scroll. So all that to say, make sure it is very, very obvious where to select your library so you see the appropriate snippets.
@kappa90 was thinking about integrating the docs into our onboarding flow. I actually really like the idea of the docs being feature-centric with an option to select your library - this will make it easier to show a single doc instead of having to ask "what is your library" and then showing the correct doc in every onboarding flow (or storing the info in the db which I'd rather not do).
Here's a bit of a brain dump from the time I spent looking through the 'Integrate PostHog' section recently. Nailing this is going to be my last big goal before the new-year, so wanted to put together an overview of some of the steps I'm taking.
Overall, my biggest goal is to reframe this entire section to be more feature-centric rather than being library/platform centric. I think this will have a number of benefits:
Objectives
Existing issues / PRs
Notes
I'm also in the process of setting up some user feedback sessions with a couple of my friends to get more hands-on data regarding where users get stuck.
cc: @jamesefhawkins @lharries @kappa90 @corywatilo