Communication site with Google Analytics

Iron Contributor

One recent ask from our customers is in being able to leverage Google Analytics with SharePoint Online, something they have today on premise.  Our goal is in migrating or replacing some of those older SharePoint sites with Communication Sites.  Communication Sites do not the Google Analytics Connector we see on Modern Team Sites that use Office 365 Groups.  Has anyone been able in integrating a SharePoint Communication Site with Google Analytics specially this requirement were we need to inject code into each page that we want metrics captured.  In the past master pages were changed but online that's not the approach that can be followed.  I have seen some SharePoint Framework web parts that could help, but again I'm not an expert on this topic so I appreciate any comments or ideas.  Thanks! 

2 Replies