Using console commands can help you diagnose issues and confirm you’re in the correct place when troubleshooting. The following are used to view whether the customer's application corresponds to the correct Account or Visitor ID in the Pendo Reseller Adopt UI.
pendo.getAccountId()
: This command displays the Account ID in which you're currently logged-in.
pendo.getVisitorId()
: This command displays the Visitor ID of the user. This is useful for creating Guide testing segments when other identifying information isn't available.
If nothing is returned when using these commands or you get an error, Pendo Adopt is not installed on the environment. To test whether Pendo is installed in the environment, use pendo.validateInstall()