Skip to main content

SiteForGoals

Site with a nonzero goal count returned by sitesForGoals.

type SiteForGoals {
id: Int!
name: String!
goalsCount: Int!
installed: Boolean!
lastData: Int
active: Boolean!
metadata: String
}

Fields​

SiteForGoals.id ● Int! non-null scalar​

SiteForGoals.name ● String! non-null scalar​

SiteForGoals.goalsCount ● Int! non-null scalar​

SiteForGoals.installed ● Boolean! non-null scalar​

Installation marked confirmed or site data has arrived.

SiteForGoals.lastData ● Int scalar​

Last received site data in Unix seconds; null before data arrives.

SiteForGoals.active ● Boolean! non-null scalar​

Whether site data was received within the last 28 days.

SiteForGoals.metadata ● String scalar​

Site metadata such as saved colors and fonts, as a JSON object string; {} when empty.

Returned By​

sitesForGoals query