A very simple way to add Google Tags to a site for analytics, adwords, etc.
composer require dorsetdigital/silverstripe-simplegtag
dev/build?flushto update your project
This module injects the required code for Google Tag Manager into your pages.
Once installed, set your GTM ID in the site config.
The module injects code into the html
<head> and the
<noscript> snippet into the page at the start of the
If you are using the cookie consent module (https://github.com/TheBnl/silverstripe-cookie-consent) then this module will only add the GTM tags if a user has accepted analytics cookies.
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem