Skip to main content

SiteForSnapshots

Site snapshot counts and visit totals returned by sitesForSnapshots.

type SiteForSnapshots {
id: Int!
name: String!
snapshotsCount: Int!
totalVisits: Int!
installed: Boolean!
lastData: Int
active: Boolean!
metadata: String
}

Fields​

SiteForSnapshots.id ● Int! non-null scalar​

SiteForSnapshots.name ● String! non-null scalar​

SiteForSnapshots.snapshotsCount ● Int! non-null scalar​

Number of nondeleted snapshots for the site.

SiteForSnapshots.totalVisits ● Int! non-null scalar​

Sum of visits across the site's nondeleted snapshots; zero without snapshots.

SiteForSnapshots.installed ● Boolean! non-null scalar​

Installation confirmed, snapshot visits exist, or site data has arrived.

SiteForSnapshots.lastData ● Int scalar​

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

SiteForSnapshots.active ● Boolean! non-null scalar​

Whether site data was received within the last 28 days.

SiteForSnapshots.metadata ● String scalar​

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

Returned By​

sitesForSnapshots query