diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2018-12-04 15:32:31 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2018-12-04 15:33:25 +0300 |
commit | 42f206b6dd9b6b66adce737b130982be463d2096 (patch) | |
tree | cfd2d583baa1d52e1482027b6fe0b73502ff95c6 /layouts/head.html | |
parent | ab8e0d00efe7daf339c7a1bd1399881811d6526d (diff) |
Load cookies consent and google verification only in production
Diffstat (limited to 'layouts/head.html')
-rw-r--r-- | layouts/head.html | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/layouts/head.html b/layouts/head.html index 7a0a3d57..5ff96a8e 100644 --- a/layouts/head.html +++ b/layouts/head.html @@ -32,13 +32,16 @@ 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-WZCXKT5');</script> <!-- End Google Tag Manager --> + + <!-- add cookie consent --> + <script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="36a06ac5-ddb4-4f91-8337-067ad19ad8d5" type="text/javascript" async></script> + + <!-- Google webmasters verification --> + <meta name="google-site-verification" content="6eFQOFLxYAer08ROqc3I-SAi44F9NmvH7PrUUBR3oCI" /> <% end %> + <script async src="<%= @items['/assets/javascripts/classlist-polyfill.*'].path %>"></script> -<!-- add cookie consent --> -<script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="36a06ac5-ddb4-4f91-8337-067ad19ad8d5" type="text/javascript" async></script> <!-- you don't need to keep this, but it's cool for stats! --> <meta name="generator" content="Nanoc <%= Nanoc::VERSION %>"> <!-- Algolia Searching from the URL bar https://www.algolia.com/doc/tutorials/search-ui/ux-patterns/search-from-the-url-bar/ --> <link href='/opensearch.xml' rel='search' title='Search through GitLab Docs' type='application/opensearchdescription+xml'> -<!-- Google webmasters verification --> -<meta name="google-site-verification" content="6eFQOFLxYAer08ROqc3I-SAi44F9NmvH7PrUUBR3oCI" /> |