Skip to main content

Definition

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

Syntax

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

.ctor Inherited

Inherited from object

Syntax

Properties

ApiHost

Gets or sets the PostHog API host URL.

Syntax

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

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.

SessionRecording

Gets or sets whether to enable PostHog session recording.

Syntax

Property Value

Type: System.Nullable<bool>?

Remarks

Session recordings are enabled by default when PostHog is configured. Set to false to disable session recordings while keeping analytics enabled. You need to add the URL for your docs website to PostHog’s “Authorized domains for recordings” before you can receive session recordings.

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?