GoogleSignalsSettings

  • Google Signals Settings control the status and consent for using Google Signals data in Google Analytics.

  • These settings have three main components: name (resource name), state (enabled/disabled), and consent (terms of service acceptance).

  • state determines whether Google Signals is enabled or disabled for data collection.

  • consent reflects whether the user has accepted the Google Signals terms of service.

  • The settings are stored as a singleton resource with a specific JSON representation.

Settings values for Google Signals. This is a singleton resource.

JSON representation
{
  "name": string,
  "state": enum (GoogleSignalsState),
  "consent": enum (GoogleSignalsConsent)
}
Fields
name

string

Output only. Resource name of this setting. Format: properties/{property_id}/googleSignalsSettings Example: "properties/1000/googleSignalsSettings"

state

enum (GoogleSignalsState)

Status of this setting.

consent

enum (GoogleSignalsConsent)

Output only. Terms of Service acceptance.

GoogleSignalsState

Status of the Google Signals settings.

Enums
GOOGLE_SIGNALS_STATE_UNSPECIFIED Google Signals status defaults to GOOGLE_SIGNALS_STATE_UNSPECIFIED to represent that the user has not made an explicit choice.
GOOGLE_SIGNALS_ENABLED Google Signals is enabled.
GOOGLE_SIGNALS_DISABLED Google Signals is disabled.

GoogleSignalsConsent

Consent field of the Google Signals settings.

Enums