Has anyone attempted to use Google Analytics with their Pega platform? Was it successful? Are there other options we should consider to try and best understand how users are interacting with the site and how to optimize for the best user experience?
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
I have implemented Google Analytics in Pega. Its pretty simple.
Create a paragraph rule and add the Google Analytics script into that, and then add this paragraph on the pyPortalHeader (assuming all pages show up the this header.) You can add this to login page by updaing Web-Login html rule. You can set GoogleAnalyticsKey as a dynamic system property to change the key between different environments.