---
title: AnalyticsConfig
description: >-
  Public analytics settings shipped to the browser only when selected by a
  consumer.
updated_at: '2026-11-25T17:36:18+01:00'
created_at: '2026-03-07T03:07:51+01:00'
symbol:
  kind: type
  name: AnalyticsConfig
  signatures:
    - >-
      type AnalyticsConfig = { readonly provider: "plausible"; readonly host?:
      string; readonly scriptSrc?: string } | { readonly provider: "google";
      readonly tagId: string } | { readonly provider: "umami"; readonly
      websiteId: string; readonly host?: string } | { readonly provider:
      "goatcounter"; readonly websiteId: string; readonly host?: string;
      readonly scriptSrc?: string } | { readonly provider: "posthog"; readonly
      apiKey: string; readonly host?: string } | { readonly provider:
      "tinylytics"; readonly siteId: string } | { readonly provider: "cabin";
      readonly host?: string } | { readonly provider: "clarity"; readonly
      projectId: string } | { readonly provider: "matomo"; readonly host:
      string; readonly siteId: string } | { readonly provider: "vercel" } | {
      readonly provider: "rybbit"; readonly siteId: string; readonly host?:
      string }
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/core/src/types.ts#L45
---

# AnalyticsConfig
