Skip to main content

setEnabledGaProperties

Replaces the enabled Google Analytics property selection and returns only account properties whose enabled state changed, ordered by name. Omitted IDs are disabled; an empty list disables all, and disabling also disables their shared links. Requests imports for submitted properties and clears the new-property markers. Submitting more unique IDs than the plan's property limit returns a quota error. Requires GA import access.

setEnabledGaProperties(
propertyIds: [Int!]!
): [GaProperty!]!

Arguments​

setEnabledGaProperties.propertyIds ● [Int!]! non-null scalar​

Complete desired selection of property IDs from gaProperties; omit IDs to disconnect imports, or send [] to disable all.

Type​

GaProperty object​

A Google Analytics property imported for the current user, including enablement state and importer status surfaced from metadata records rather than live GA lookups. Returned by gaProperties and setEnabledGaProperties.