From a97f0d5cc991ab1c4bedf90b4b42e33a8cc74cc8 Mon Sep 17 00:00:00 2001 From: nesdis <nesdis@gmail.com> Date: Wed, 9 Sep 2020 08:39:58 +0200 Subject: [PATCH] Added javascript for tags in custom.html --- docs/_includes/head/custom.html | 1 + docs/_includes/vendors/google-tag-manager.html | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/_includes/head/custom.html b/docs/_includes/head/custom.html index 015fb4c..54a9551 100644 --- a/docs/_includes/head/custom.html +++ b/docs/_includes/head/custom.html @@ -1,4 +1,5 @@ <!-- start custom head snippets --> <link rel="stylesheet" type="text/css" media="screen" href="{{'/assets/css/custom.css' | relative_url}}"> +{% include vendors/google-tag-manager.html %} <!-- end custom head snippets --> \ No newline at end of file diff --git a/docs/_includes/vendors/google-tag-manager.html b/docs/_includes/vendors/google-tag-manager.html index 75daa1b..2caea24 100644 --- a/docs/_includes/vendors/google-tag-manager.html +++ b/docs/_includes/vendors/google-tag-manager.html @@ -1,8 +1,7 @@ - +<!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-T72KG6N');</script> - -End Google Tag Manager --> \ No newline at end of file +<!-- End Google Tag Manager --> -- GitLab