One of the recurrent requirements most business keep asking about, is how can I track the usage of my intranet, or sharepoint portals ?
SharePoint Online (or On-Prem) provides a certain level of analytics, but, unless you are using a third party tools, the SharePoint Analytics are very basic and provide limited information.
In this article, I will describe, how you can integrate your SharePoint sites with Google Analytics, and take advantage of the advanced metrics and dashboard available in Google Analytics.
To achieve this, we will need to build a site extension using SPFx and deploy it to your tenant App Catalogue.
First, you will need to set up your SPFx development environment, if you have not already completed this step, please refer to my previous article.
Set up your SharePoint Framework Development Environment
In this article, you will find the step by step guidacen about how to create a custom SPFx solution which will embedd the Google Analytics Type script code into your SharePoint Modern Site.
