PostHog joins the Vercel Marketplace

Published: (February 10, 2026 at 08:00 AM EST)
1 min read

Source: Vercel Blog


PostHog is now available in the Vercel Marketplace as a feature‑flags, experimentation, and analytics provider.

Features

  • Declare flags in code using the Flags SDK and the @flags-sdk/posthog adapter.
  • Toggle features in real time for specific users or cohorts.
  • Roll out changes gradually with percentage‑based rollouts.
  • Run A/B tests to validate impact before a full release.

This integration helps teams building on Vercel ship with more confidence: test in production, reduce release risk, and make data‑driven decisions based on real user behavior, all within your existing Vercel workflows.

Getting Started

Create a flags.ts file with an identify function and a flag definition:

import { postHogAdapter } from '@flags-sdk/posthog';
import { flag, dedupe } from 'flags/next';
import type { Identify } from 'flags';

export const identify = dedupe(async () => ({
  distinctId: 'user_distinct_id' // replace with real user ID
})) satisfies Identify;

export const myFlag = flag({
  key: 'my-flag',
  adapter: postHogAdapter.isFeatureEnabled(),
  identify,
});

Check out the PostHog template to learn more about this integration.

0 views
Back to Blog

Related posts

Read more »

Use MiniMax M2.5 on AI Gateway

Overview MiniMax M2.5 is now available on AI Gateway. M2.5 plans before it builds, breaking down functions, structure, and UI design before writing code. It ha...