Validation
Functions
- validateBuiltInGlobals([skipLogging]) ⇒
Array
Checks global variables in the current frame related to iframes and events.
- 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.
- 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.
- validateNativeMethods([skipLogging]) ⇒
Array
Checks if any native JavaScript methods have been overwritten in the current window context.
- validateUrl([skipLogging]) ⇒
Array
Checks current URL of the browser for customized or sanitized strings by the application.
validateBuiltInGlobals([skipLogging]) ⇒ Array
Checks global variables in the current frame related to iframes and events.
Kind: global function
Returns: Array
- results from globals validation
Category: Validation
Access: public
Param | Type | Description |
---|---|---|
[skipLogging] | boolean | does 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.
Kind: global function
Category: Validation
Access: public
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.
Kind: global function
Returns: Array
- results from install validation
Category: Validation
Access: public
Param | Type | Description |
---|---|---|
[skipLogging] | boolean | does 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.
Kind: global function
Returns: Array
- results from native methods validation
Category: Validation
Access: public
Param | Type | Description |
---|---|---|
[skipLogging] | boolean | does 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.
Kind: global function
Returns: Array
- results from url validation
Category: Validation
Access: public
Param | Type | Description |
---|---|---|
[skipLogging] | boolean | does not log output to console if true, returning an array instead |
Example
pendo.validateUrl()