Validate your Pendo installation

Last updated:

You can use Pendo’s browser console commands to confirm whether the Pendo Web SDK is installed correctly in your app, verify which Visitor ID and Account ID are being tracked, and troubleshoot installation issues. These commands are especially useful during initial setup or when guides, analytics, or metadata aren’t working as expected.

Prerequisites

These commands can only be run on a page where the Pendo Web SDK is installed.

Check web SDK installation

If you’re experiencing issues after the initial install, start by confirming that the web SDK is running and collecting data.

  1. Go to a page where the Pendo Web SDK is installed.
  2. Right-click your mouse from anywhere on that page and select Inspect.

    Inspect.png
     
  3. Select the Console tab at the top of the inspector.

    Console.png
     
  4. Enter pendo.validateInstall(), then press Enter. This command returns details such as the web SDK version, Visitor ID, Account ID, whether tracking is active, and any installation warnings.

Check JavaScript method overrides

If the Visual Design Studio reports that JavaScript methods have changed, you can check whether your application has replaced native browser methods. These replacements can affect guide editing and tagging.

  1. Open the browser developer console on a page where the Pendo Web SDK is installed.
  2. Enter pendo.validateEnvironment() and press Enter. Review the visitor and account metadata, native JavaScript method check, and subscription configuration details.
  3. Enter pendo.validateNativeMethods() and press Enter to identify non-native methods.

If the output identifies overridden methods, such as Array.prototype.reduce, share it with your development team so they can investigate the source. If the Visual Design Studio works as expected despite the message, no action is needed.

If Angular's method overrides are affecting Pendo, work with your development team to install the Pendo Web SDK using your NgZone instance's runOutsideAngular() method, such as ngzone.runOutsideAngular(), so Pendo runs outside Angular's zone.

Check Account ID and Visitor ID

These commands return the recognized Account ID and Visitor ID for a visitor, which is especially useful for guide segments when other metadata isn’t available.

If you want to verify that the correct Account ID and Visitor ID are being tracked for visitors:

  1. Go to a page where the Pendo Web SDK is installed.
  2. Right-click your mouse from anywhere on that page and select Inspect.
  3. Select the Console tab.
  4. To check the Account ID, enter pendo.getAccountId() and press Enter.
  5. To check the Visitor ID, enter pendo.getVisitorId() and press Enter.
Was this article helpful?
0 out of 0 found this helpful