Skip to main content

Validation

validateBuiltInGlobals([skipLogging]) ⇒ Array

Checks global variables in the current frame related to iframes and events.

Returns: Array - results from globals validation

ParamTypeDescription
[skipLogging]booleandoes not log output to console if true, returning an array instead

Example

pendo.validateBuiltInGlobals()

validateEnvironment()

Runs all Pendo validation checks and logs output to the console. Checks: install metadata, overwritten native JavaScript or global variables, URL customizations, configuration, and error history.

Example

pendo.validateEnvironment()

validateInstall([skipLogging]) ⇒ Array

Checks visitor and account metadata in the current Pendo installation. Either logs to console or returns an array with the results of validation.

Returns: Array - results from install validation

ParamTypeDescription
[skipLogging]booleandoes not log output to console if true, returning an array instead

Example

pendo.validateInstall()

validateNativeMethods([skipLogging]) ⇒ Array

Checks if any native JavaScript methods have been overwritten in the current window context.

Returns: Array - results from native methods validation

ParamTypeDescription
[skipLogging]booleandoes not log output to console if true, returning an array instead

Example

pendo.validateNativeMethods()

validateUrl([skipLogging]) ⇒ Array

Checks current URL of the browser for customized or sanitized strings by the application.

Returns: Array - results from url validation

ParamTypeDescription
[skipLogging]booleandoes not log output to console if true, returning an array instead

Example

pendo.validateUrl()