Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcia Ramos <virtua.creative@gmail.com>2018-10-12 12:10:34 +0300
committerMarcia Ramos <virtua.creative@gmail.com>2018-10-12 12:10:34 +0300
commit742ae6a3b3cb10c36f5896b2af4d8bf62c7af502 (patch)
tree4728c63c026c1602769ce8881d6c5c8ac20e8bc8 /layouts/archives.html
parente5ec2c426c98d9b2e448e1a7562a529eb093c8a1 (diff)
adds GTM via partials
Diffstat (limited to 'layouts/archives.html')
-rw-r--r--layouts/archives.html8
1 files changed, 1 insertions, 7 deletions
diff --git a/layouts/archives.html b/layouts/archives.html
index 31b987fb..0fa5a19e 100644
--- a/layouts/archives.html
+++ b/layouts/archives.html
@@ -4,13 +4,7 @@
<%= render '/head.*' %>
</head>
<body>
- <% if ENV['NANOC_ENV'] == 'production' %>
- <%# Adds GTM only in production // leave this immediately after the opening the body tag%>
- <!-- Google Tag Manager (noscript) -->
- <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WZCXKT5"
- height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
- <!-- End Google Tag Manager (noscript) -->
- <% end %>
+ <%= render '/gtm.*' %>
<%= render '/header.*' %>
<div class="wrapper">
<div class="main class js-main-wrapper">