Skip to main content

Definition

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

Syntax

Mintlify.Core.Models.Integrations.GoogleAnalytics4Config

Summary

Represents the configuration for Google Analytics 4 integration.

Remarks

Google Analytics 4 (GA4) is Google’s next-generation analytics platform that provides insights about website traffic and user behavior. This configuration enables automatic tracking of documentation events to your GA4 property.

Constructors

.ctor

Syntax

public GoogleAnalytics4Config()

Properties

MeasurementId

Gets or sets the Google Analytics 4 measurement ID.

Syntax

public string MeasurementId { get; set; }

Property Value

Type: string?

Remarks

This is the unique identifier for your GA4 web data stream, typically in the format “G-XXXXXXXXXX”. You can find this measurement ID in your Google Analytics property settings under Data Streams. Note that Google Analytics may take 2-3 days to start showing data after initial setup.