Skip to main content

checkScript

Runs a full tracking-script audit for a URL and device, returning the first error plus warnings and informational findings. Use checkTitle for page metadata or checkPermission for a smaller preflight. May create or mark an installed site, update snapshot installation state, and refresh the tracking script. Requires an authenticated session; limited to 30 calls per minute per user.

checkScript(
url: String!
device: SnapshotDevice!
): ScriptCheck

Arguments​

checkScript.url ● String! non-null scalar​

Page URL or hostname; a missing scheme is added.

checkScript.device ● SnapshotDevice! non-null enum​

Device profile used to visit and audit the page.

Type​

ScriptCheck object​

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