Google Tag Manager
This plugin allows you to configure the "ContainerID" from the control panel and inject the GTM tags into the template.
Configuring Google Tag Manager
You can configure the containerID from the Craft Control Panel.
Using Google Tag Manager
Copy the code below and paste it into you layout as high as possible in the <head>
section
of the page:
{{ craft.googleTagManager.headSection() }}
You must also paste this code immediately after the opening tag <body>
:
{{ craft.googleTagManager.bodySection() }}
Free
Package Name
To install this plugin, search for its package name on the Plugin Store and click “Install”.