This application customizer for SharePoint Online adds Google Tag Manager to your SharePoint site.
This is licensed under MIT.
- Download the latest
.sppkg
release. - Go to your SharePoint's tenant app catalog.
- Upload the spfx-google-tag-manager-{version}.sppkg package.
- Determine whether or not the client-side solution should be made available to all sites in the organization (tenant wide). Note that this solution will require additional permissions and informs you that it will request User.ReadBasic.All from Microsoft Graph.
- Click Deploy to deploy the solution.
- (Optional): If in step #4, the solution was not made tenant wide, go to the site that the web part should be placed on. In the Site Contents, add the new spfx-google-tag-manager-client-slide-solution app.
This application customizer is built with the SharePoint Framework (SPFx).
It can be cloned and built using the normal SPFx gulp
tasks, or by using the
following npm scripts:
npm run serve:browser
to start a local development server using SharePoint Workbench and mock data.npm run serve
to start a local development server to run against a real SharePoint environmentnpm run dist
to create a production build and package
Multiple areas of the code base need to be updated when making a version number
change. This has been automated in a preversion script, so using npm vesrion
is required.