Skip to main content

ScriptCheck

Full script-check result returned from the remote audit pipeline, including derived redirect state, categorized findings, and recent-site metadata. Returned by checkScript.

type ScriptCheck {
finalUrl: String!
pageTitle: String
didRedirect: Boolean!
error: ScriptCheckResult
warnings: [ScriptCheckResult!]
infos: [ScriptCheckResult!]
consoleErrors: [ScriptCheckConsoleError!]
installed: Boolean!
siteVisitedAt: Int
cookiesSuccessfullySet: [CookieResult!]
}

Fields​

ScriptCheck.finalUrl ● String! non-null scalar​

ScriptCheck.pageTitle ● String scalar​

Title returned by the page audit; null when unavailable.

ScriptCheck.didRedirect ● Boolean! non-null scalar​

Whether the final URL differs from the input URL outside its URL-matching rule.

ScriptCheck.error ● ScriptCheckResult interface​

First failing error check, in evaluation order; null when none fails.

ScriptCheck.warnings ● [ScriptCheckResult!] list interface​

All warning findings; an empty list means none were detected.

ScriptCheck.infos ● [ScriptCheckResult!] list interface​

All informational findings; an empty list means none were detected.

ScriptCheck.consoleErrors ● [ScriptCheckConsoleError!] list object​

Browser console errors captured by the remote check; only populated for admin sessions.

ScriptCheck.installed ● Boolean! non-null scalar​

Whether a running Crazy Egg tracking script was detected on the page; it may belong to another account, reported by error.

ScriptCheck.siteVisitedAt ● Int scalar​

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

ScriptCheck.cookiesSuccessfullySet ● [CookieResult!] list object​

Cookie write attempts reported by the remote checker so the caller can see which cookies were successfully set during the visit.

Returned By​

checkScript query