On a single-page application
In single-page frameworks, the first part of the Pendo install script is included on the main HTML page, while the call to initialize Pendo usually happens in a separate component. For instructions, see Install Pendo on a single-page web application.
On a multi-page application
In multi-page application frameworks, Pend must be installed and initialized on every HTML page of your application. For instructions, see Install Pendo on a multi-page web application.
If your application contains iframes, you must install Pendo in each iframe within the application. Visitor IDs, Account IDs, and Pendo API keys must match across all frames.
On the login page of your application
If you want to capture analytics on your login page, you will likely need to install using anonymous Visitor IDs in Pendo. After the user signs in, you must then either:
- Re-initialize Pendo if using a multi-page framework
- Re-identify the visitor if using a single-page framework.
Full instructions, see Install Pendo on a login page.
With the Segment.com integration
Pendo offers integration with Segment.com, allowing you to send data to Pendo from Segment. Pendo can be installed through the Segment.com integration. Often, you can complete this installation without any code changes to your application, making it a quicker option for installing Pendo. For instructions, see the Segment.com integration overview article.
Through Google Tag Manager
Pendo can be installed through Google Tag Manager. Often, you can complete this installation without any code changes to your application, making it a quicker option for installing Pendo. For instructions, see Install Pendo through the Google Tag Manager.
Through other tag managers