Skip to main content

pageEditorCheckScript

Reports whether the Crazy Egg script is installed for the site of a page editor page. Returns installed: true when the site is already marked installed; otherwise runs a live script check of the page URL for device. Requires page editor navigation access.

pageEditorCheckScript(
pageId: String!
device: SnapshotDevice!
): PageEditorScriptCheckResponse

Arguments​

pageEditorCheckScript.pageId ● String! non-null scalar​

Page UUID from pageEditorCreatePage or pageEditorGetEditor.

pageEditorCheckScript.device ● SnapshotDevice! non-null enum​

Device for the live script check when installation is not already known.

Type​

PageEditorScriptCheckResponse object​

Installation result returned by pageEditorCheckScript, with an optional diagnostic.