Skip to main content

SharedSource

Normalized source metadata for the shared resource; site-backed and GA-property-backed shares are flattened into the same shape.

type SharedSource {
id: Int!
name: String!
type: SharedSourceType!
webAnalyticsEnabled: Boolean!
webAnalyticsEnabledAt: Int
lastSuccessAt: Int
enabledAt: Int
oldestImportedDataAt: Int
currentTimezone: String
createdAt: Int
}

Fields​

SharedSource.id ● Int! non-null scalar​

Site id or external GA property id, according to type.

SharedSource.name ● String! non-null scalar​

SharedSource.type ● SharedSourceType! non-null enum​

SharedSource.webAnalyticsEnabled ● Boolean! non-null scalar​

Whether site analytics or the imported GA property is enabled.

SharedSource.webAnalyticsEnabledAt ● Int scalar​

Analytics enable time in Unix seconds; null when not enabled.

SharedSource.lastSuccessAt ● Int scalar​

Last successful GA import in Unix seconds; null for site sources or before success.

SharedSource.enabledAt ● Int scalar​

GA import enable time in Unix seconds; null for site sources or when not enabled.

SharedSource.oldestImportedDataAt ● Int scalar​

Oldest imported GA data time in Unix seconds; null for site sources or when unavailable.

SharedSource.currentTimezone ● String scalar​

Imported GA property's timezone; null for site sources or when unavailable.

SharedSource.createdAt ● Int scalar​

Source creation time in Unix seconds; null when unavailable.

Member Of​

SharedResourceData object