Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

PostHog integration for Next.js 15 v1.0.0

Use this resource to integrate PostHog into a Next.js 15 app cleanly

New

  • 181 downloads
  • 123 likes
  • 87 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install posthog-nextjs-analytics-integration

First time: connect the CLI with

npx --yes palatekit@latest login

The prompt asks for a full integration: a client-side provider, identity tied to authentication, tracking of subscriptions and SPA page views. You get a file architecture and code that respects the client and server split.

Mostly picked by

Updated November 2, 2026

Card for the “PostHog integration for Next.js 15” prompt

Details

Generates with
Your agent's model
Licence
CC0-1.0

Similar resources

View all

What you get

  • The full prompt, ready to paste
  • Environment variables and services to adapt to your project

Good fit for

  • A SaaS that wants to measure sign-ups and subscriptions
  • A team that wants analytics without unnecessary personal data

Not for

    Tags

    • next.js
    • analytics
    • posthog
    • code

    About

    You say

    “Add client-side error tracking, following the same pattern.”

    Card for the “PostHog integration for Next.js 15” prompt

    Prompt published by Ted2xmen under the CC0-1.0 license, delivered in its original version.

    Show more

    How to use it

    1. Paste the prompt into your assistant or agent
    2. Ask it to integrate PostHog into a Next.js 15 app cleanly
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE0.6 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • posthog-nextjs-analytics-integration.md3.4 KB

    Origin and licence

    Listed unmodified

    Author
    Ted2xmen
    Source
    github.com/f/prompts.chat/blob/cecef6fc73c2c389770695a56252d331981727de/prompts.csv
    Licence
    CC0-1.0

    Notice

    « Production-Grade PostHog Integration for Next.js 15 (App Router) » (Ted2xmen, CC0-1.0) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.