Interface: AnalyticsRewriteOptions
Defined in: next/index.ts:39 Options for withAnalyticsRewrites. Defaults are tuned for PostHog’s US ingestion endpoints; overrideupstream / assetsUpstream for EU regions or self-hosted
deployments.
Properties
assetsUpstream?
Defined in: next/index.ts:45 PostHog static-assets endpoint. DefaultoptionalassetsUpstream?:string
"https://us-assets.i.posthog.com".
prefix?
Defined in: next/index.ts:41 Local path prefix that proxies to PostHog. Defaultoptionalprefix?:string
"/ingest".
upstream?
Defined in: next/index.ts:43 PostHog ingestion endpoint. Defaultoptionalupstream?:string
"https://us.i.posthog.com".