Is it possible to delay initializing Pendo until later on because the api key is read dynamically as opposed to having it static in index.html? (In a React SPA)
If you do this you will simply wait until you have the visitor/account ID and metadata available, then call pendo.initialize() and include the API key.
Comments
Hi Louis Zhu - I believe you should include the API key in the initialize statement as outlined in this support doc - https://support.pendo.io/hc/en-us/articles/360031862272-Installation-for-Single-Page-Frameworks#YourInstallationSnippet.
If you do this you will simply wait until you have the visitor/account ID and metadata available, then call pendo.initialize() and include the API key.
Please sign in to leave a comment.