posthog-deploy-integration

Installation
SKILL.md

PostHog Deploy Integration

Overview

Deploy PostHog analytics to production platforms. Covers Next.js with Vercel (reverse proxy, server-side capture, edge functions), self-hosted PostHog with Docker, and Google Cloud Run deployment patterns.

Prerequisites

  • PostHog project API key (phc_...)
  • PostHog personal API key (phx_...) for server features
  • Platform CLI installed (vercel, docker, or gcloud)

Instructions

Step 1: Next.js + Vercel Deployment

set -euo pipefail
# Set environment variables in Vercel
Related skills
Installs
27
GitHub Stars
2.2K
First Seen
Jan 30, 2026