Written version of this tutorial - https://posthog.com/tutorials/nextjs-...
Subscribe for more - https://www.youtube.com/@PostHog?sub_...
Get signup for PostHog for free - https://app.posthog.com/signup
More tutorials - https://posthog.com/tutorials
Questions? - https://posthog.com/questions
In this tutorial, we build an app in Next.js, set up user authentication, then add PostHog, and set up the features of PostHog including event capture, session recordings, user identification, feature flags, and more.
Follow us on Twitter - / posthog
0:00 Intro
0:21 Next.js blog app
5:35 Post pages
7:51 Authentication
15:19 Adding PostHog, autocapture, session recordings
19:51 Pageviews, custom event capture
22:20 User identification
25:08 Resetting identified users
26:31 Client side rendering feature flags
28:21 Server side rendering feature flags
33:21 Outro