Nov 04 2019 10:15 PM
Our organization uses a third-party software for analyzing our intranet sites on SharePoint Online. This software uses a JavaScript code.
The code has been added manually to every pages by using the Modern Script Editor web part at this moment.
Is there way to deploy this code to all pages centrally on the tenant level?
Nov 23 2019 12:41 PM
Hi @T_Kujala ,
you can build an SPFx application customizer (an SPFx extension) and follow this approach used for Google Analytics.
https://sharepoint.handsontek.net/2017/12/21/how-to-add-google-analytics-to-the-modern-sharepoint/
Cheers,
Federico