Sharepoint Online Injecting Datadog script in Modern Pages

%3CLINGO-SUB%20id%3D%22lingo-sub-1343820%22%20slang%3D%22en-US%22%3ESharepoint%20Online%20Injecting%20Datadog%20script%20in%20Modern%20Pages%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1343820%22%20slang%3D%22en-US%22%3E%3CP%3EHi!%20We're%20using%20Datadog%20to%20monitor%20the%20performance%2Floading%20time%20of%20Sharepoint%20sites%20from%20different%20locations.%20To%20do%20this%20we%20need%20to%20embed%20the%20Datadog%20javascript%20code.%20All%20of%20our%20sites%20are%20using%20modern%20pages%20already.%26nbsp%3B%20What's%20the%20best%20way%20to%20embed%20the%20js%20code%20so%20that%20we%20can%20monitor%20multiple%20Sharepoint%20sites.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1343820%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Framework%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESites%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESPFx%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
New Contributor

Hi! We're using Datadog to monitor the performance/loading time of Sharepoint sites from different locations. To do this we need to embed the Datadog javascript code. All of our sites are using modern pages already.  What's the best way to embed the js code so that we can monitor multiple Sharepoint sites. 

1 Reply
Highlighted
By means of a SPFx Extension you could do it