I was working on an Angular Universal SSR application and wanted to add Google Analytics tracking for page views but couldn't get it to work. Most packages that are out there that I tried did not work with SSR because they tried to access the window/document directly. Continue reading...