How can we add Google analytics to the new Universal Login?
You can add Google Analytics to the New Universal Login via page templates by adding the script tag. However, you’re a bit limited in what you can do. Unless an element has a name/id property, there is no way to hook into its events.
For example, custom parameters passed to authorize are not available in the page templates like they are in Classic Universal Login. This prevents them from using Google Analytics link functionality which includes a Google Analytics query parameter that could be used for analytics.