Add google tag manager

This commit is contained in:
Miguel Nogueira 2021-12-10 21:34:34 +00:00
parent 7d3e4e17b6
commit a71ecac59c
2 changed files with 12 additions and 0 deletions

View File

@ -1,6 +1,10 @@
@include('breadcrumbs.header')
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-T47K5CG"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<!-- This section is global -->
@if (session()->has('error'))

View File

@ -4,6 +4,14 @@
<head>
<!-- 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-T47K5CG');</script>
<!-- End Google Tag Manager -->
<meta charset="utf-8">
<meta name="description" content="{{ config('app.name') }} Staff Member Management Tool">
<meta name="author" content="Miguel N.">