Google Tag Manager plugin for October CMS. Inspired by the Google Analytics Plugin from RainLab.
You can use default code on all pages or you can specify unique tag for specific pages.
Instructions
- Install the plugin via the October CMS backend.
- Add your site configuration details to the Google Tag Manager Plugin configuration page. (Under the 'Misc' section of the System Settings page in the Backend).
- Add the Google Tag Manager Component to your master layout.
- Add
{% component 'gtmCode' %}
to the content of the default layout so that it appears immediately after the opening <body> tag. - Save the file.
You can also add the component to the file manually and/or override _id
from your settings.
-
This plugin has not been reviewed yet.
-
2.0.1 |
Switching to latest GTM code installation. Extra placeholder needed. Jan 03, 2019 |
---|---|
2.0.0 |
Switching to latest GTM code installation. Extra placeholder needed. Jan 03, 2019 |
1.0.2 |
Support composer. Jan 03, 2019 |
1.0.1 |
First version of Google Tag Manager (GTM) plugin. Feb 29, 2016 |