Skip to main content

ScriptCheckPermissionOnly

Minimal preflight response for install flows that need only domain permission, existing-install detection, quota preview, and last-visited metadata. Returned by checkPermission.

type ScriptCheckPermissionOnly {
requestedUrl: String!
domain: String!
permissionDenied: Boolean!
numberOfSnapshotsOverQuota: Int
installed: Boolean!
siteVisitedAt: Int
}

Fields​

ScriptCheckPermissionOnly.requestedUrl ● String! non-null scalar​

ScriptCheckPermissionOnly.domain ● String! non-null scalar​

ScriptCheckPermissionOnly.permissionDenied ● Boolean! non-null scalar​

True when the session may neither access nor create a site for this registrable domain.

ScriptCheckPermissionOnly.numberOfSnapshotsOverQuota ● Int scalar​

Existing plus proposed snapshots minus the plan's snapshot limit: 0 at the limit, null when under it, without a limit, or in shared sessions.

ScriptCheckPermissionOnly.installed ● Boolean! non-null scalar​

Whether a running Crazy Egg tracking script was detected on the page; false also when the page could not be probed.

ScriptCheckPermissionOnly.siteVisitedAt ● Int scalar​

Last received data for the matching site in Unix seconds; null when no site or data exists.

Returned By​

checkPermission query