Tagging a SharePoint site is made possible by the use of SPFx, a SharePoint framework that allows you to embed JavaScript in your site's pages, thus tagging an intranet as a standard site.
You will find the dedicated Microsoft documentation below:
https://learn.microsoft.com/en-us/sharepoint/dev/spfx/sharepoint-framework-overview
Piano Analytics does not provide support for this framework, nor for the use of the SDK in SharePoint. We recommend that you contact SharePoint support if you have any questions about the framework.
Given the technical environment, it is also possible that some SDK methods may not be compatible with such tagging.