In this sample is possible to see how to implement Google Analytics through SPFx Extensions Application Customizers READ MY ARTICLE HERE
SPFx Extensions Dev Preview
Solution | Author(s) |
---|---|
js-application-analytics | Giuliano De Luca (@giuleon , www.delucagiuliano.com) |
Version | Date | Comments |
---|---|---|
1.0 | June 09, 2017 | Initial release |
THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
- Clone this repository
- in the command line run:
npm install
gulp serve
This sample illustrates how to levereage the SharePoint Framework Extensions Applciation Customizer to analyze the usage through Google Analytics of a SharePoint site:
- Application Customizer
- Google Analytics
Don't forget to insert your Google Analytics tracking code something like that 'UA-100713841-5'