Plugin screenshot thumbnail 1/1

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

To install this plugin, copy the command above to your terminal.

Active Installs
640
Version
2.0.0
License
MIT
Compatibility
Craft 3, Craft 4
Last release
August 24, 2022
Activity (30 days)
0
Closed Issues
0
Open Issues
0
Merged PRs
0
Open PRs