Skip to main content

Definition

Assembly: Mintlify.Core.dll Namespace: Mintlify.Core.Models.Integrations Inheritance: System.Object

Syntax

Mintlify.Core.Models.Integrations.PostHogConfig

Summary

Represents the configuration for PostHog analytics integration.

Remarks

PostHog is an open-source product analytics platform that provides session recording, feature flags, and product analytics. This configuration enables automatic tracking of documentation events to your PostHog instance.

Constructors

.ctor

Syntax

public PostHogConfig()

Properties

ApiHost

Gets or sets the PostHog API host URL.

Syntax

public string ApiHost { get; set; }

Property Value

Type: string?

Remarks

This is optional and only needed if you are self-hosting PostHog. If not specified, events will be sent to the default PostHog cloud service at https://app.posthog.com. If you are self-hosting, specify the full URL to your PostHog instance.

ApiKey

Gets or sets the PostHog project API key.

Syntax

public string ApiKey { get; set; }

Property Value

Type: string?

Remarks

This is your PostHog project’s API key, which typically starts with “phc_”. You can find this key in your PostHog project settings. All documentation events will be sent to the PostHog project associated with this API key.