Install Pendo on multiple domains or subdomains

Last updated:

As you install Pendo on your web applications, you can use the same install script across multiple domains or subdomains. This let you see data from different environments under the same app in Pendo.

This article reviews how to simplify the installation process by using the same install script to see data from all of your environments in one place and avoid redundant page tagging.

Guidance

The Pendo install script, sometimes referred to as the "snippet", contains the application key, which tells Pendo which application to associate the data with. If your application has multiple domains, for example a local host, a dev environment, and a production environment, we recommend installing the same install script across all of these instances. That way, when you begin tagging your pages and features, you won’t need to tag every domain separately. This also allows you to add the lower, or testing, environments to your Staging environments list in Pendo and test your guides there.

Take the URLs below as an example:

  • https://www.pendo.io/pages
  • https://dev.pendo.io/pages

To see data from both pages together in Pendo, use a wildcard by adding an asterisk (*) in place of www.pendo.io: 

  • https://*/pages

You can use the same install script on any number of domains or subdomains to collect data under the same application key.

Next steps

  1. Implement the same Pendo install script on all of your environments. You can find the instructions in our Pendo in multiple environments for development and testing.
  2. Set up your Exclude List. This allows you to filter out the data from your lower environments to keep data from your Production environment separate.
  3. Tag your Pages and Features. For more information on tagging, see our articles on URLs for Page tagging and Tagging and viewing Features. You can also check out our Academy Course: Tagging for Web Apps tutorials.
Was this article helpful?
0 out of 1 found this helpful