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() }}


Package Name

To install this plugin, search for its package name on the Plugin Store and click “Install”.


  • Version 1.1.0
  • Last Update 7/8/2019
  • Active Installs 443
  • Compatibility Craft 3
  • License MIT
  • Categories Templating, Integrations

Report an issue