Skip to content
This repository has been archived by the owner on Apr 29, 2019. It is now read-only.
/ calibr8_gtm Public archive

Adds Google Tag Manager tracking code and dataLayer.

Notifications You must be signed in to change notification settings

Calibr8/calibr8_gtm

Repository files navigation

Installation
------------

Your html.tpl.php should look like this.
This is present in the latest version of the calibr8_theme. If you installed this module on an old calibr8 setup or
a site without the calibr8 themes, make sure these variables are printed.

<head>
  ...
  <title>
  <link>
  <script></script>
  {{ gtm_datalayer }}
  {{ gtm_head }}
  ...
</head>
<body>
  {{ gtm_body }}
  ...
</body>