Repository navigation
Releases: ChariotOfFLAME/pendo-LocalTest
Releases · ChariotOfFLAME/pendo-LocalTest
Release list
V1.0.2 - Properly format Pendo Status API returns for single Incident
V1.0.1 - Cleanup and addition of Client-Side Track Event Configuration
Changes:
- Added italics to warning text
- Delete test.js - not used
- Delete pendo-status.html - Integrated into root index.html
- add pendo-TrackEvent.js reference to headers of all HTML files
- added Client-Side Track Events to Pre-Built Pendo Adjustments
09/26/2023
pendo-LocalTest
A localhost website created by Alex Newton, heavily modified by @ChariotOfFLAME .
Featuring many Pendo testing and debugging methods, as well as other tangential projects.
Setup
- Create a new App in your personal Pendo Test Subscription, or add these pages to another App.
- Download the Repo into a self-contained folder
- open pendo-snippet.js in your text editor
- replace the string on line 104 with the above App's Pendo API Key Pendo API Key
- This will be loaded on every page in the directory, and thus is installed on each page, so you only need to change the API key here.
- for an EU sub, comment out lines 28-104 and uncomment lines 108-134, replacing the string on line 134 with the EU Sub App's API Key
Run
- Ensure you have installed Python 3 on your Pendo Mac (using Pendo Self Service)
- On Mac, navigate to the parent folder above where you placed the files from this repo
- right click on the folder and select "Run Terminal at Folder"
- copy the text from runThisInTerminalFromThisFolder.txt into the new Terminal Window and hit Enter
- navigate to http://localhost:8080/
Alternate Configurations:
- Optional Configurations include:
- Programmatic Location API - index.html lines 21-39
- Programmatic API-Activation Guides Launcher - index.html line 10 and lines 59-62 and pendo-guideLauncher.js
- Pendo Function Shortcuts - index.html line 11 and lines 64-188, and pendo-agent-functions.js
- Pendo Status Page API Checker - index.html lines 12-20 and lines 283-286, cdn.statuspage.io_se-v2.js, and pendo-status.js
- Heavily modified and simplified iFrame Town - multiFrame folder
- credit to @4storia for building the first iFrame Town
Pre-built Pendo Adjustments:
- Change Visitor or Account Information:
- Change the variables being passed in pendo-snippet.js lines 3-18
- Switch to hardcoded strings in pendo-snippet.js lines 54-69
- Enable Snippet-based Location API:
- Comment in pendo-snippet.js lines 92-100