diff options
author | Marcia Ramos <virtua.creative@gmail.com> | 2018-10-12 12:10:34 +0300 |
---|---|---|
committer | Marcia Ramos <virtua.creative@gmail.com> | 2018-10-12 12:10:34 +0300 |
commit | 742ae6a3b3cb10c36f5896b2af4d8bf62c7af502 (patch) | |
tree | 4728c63c026c1602769ce8881d6c5c8ac20e8bc8 /layouts/home.html | |
parent | e5ec2c426c98d9b2e448e1a7562a529eb093c8a1 (diff) |
adds GTM via partials
Diffstat (limited to 'layouts/home.html')
-rw-r--r-- | layouts/home.html | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/layouts/home.html b/layouts/home.html index 043991da..73c26cbd 100644 --- a/layouts/home.html +++ b/layouts/home.html @@ -5,13 +5,7 @@ <link rel="canonical" href="<%= @config[:base_url] %>/"> </head> <body class="landing"> - <% 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 '/landing-header.*' %> <div class="landing-header flex-container flex-column justify-center align-center"> <h1 class="flex-container">👋 Hello, how can we help?</h1> |