Skip to main content

Configuration

The Pendo Agent is built with your application's configuration settings included into it. However, there are many settings you can change when you initialize the Agent. This allows you to have different configurations based on application state and have more fine grained control. All configuration options are provided to the Agent in the pendo.initialize call immediately after your install snippet. The initialize method and a few others are stubbed in the snippet so that the Agent will run queued invocations when it becomes ready.

Example

pendo.initialize({
visitor: {
id: "PUT_VISITOR_ID_HERE",
name: "John Doe",
email: "user@acme.com",
role: "Viewer"
},
account: {
id: "PUT_ACCOUNT_ID_HERE",
name: "Acme Co"
},
disableCookies: true,
excludeAllText: true
});