Skip to main content

Interface: AnalyticsRewriteOptions

Defined in: next/index.ts:39 Options for withAnalyticsRewrites. Defaults are tuned for PostHog’s US ingestion endpoints; override upstream / assetsUpstream for EU regions or self-hosted deployments.

Properties

assetsUpstream?

optional assetsUpstream?: string
Defined in: next/index.ts:45 PostHog static-assets endpoint. Default "https://us-assets.i.posthog.com".

prefix?

optional prefix?: string
Defined in: next/index.ts:41 Local path prefix that proxies to PostHog. Default "/ingest".

upstream?

optional upstream?: string
Defined in: next/index.ts:43 PostHog ingestion endpoint. Default "https://us.i.posthog.com".