Only analytics with debug disabled
This commit is contained in:
parent
8e1a050be4
commit
df6abe3ed3
1 changed files with 22 additions and 8 deletions
|
@ -7,15 +7,29 @@
|
|||
<link rel="stylesheet" href="/dist/css/app.css">
|
||||
<script type="module" src="/dist/scripts/app.js"></script>
|
||||
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-18G0H58X77"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
<?php if (!\Core\Env\Env::get('debug')) : ?>
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-18G0H58X77"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'G-18G0H58X77');
|
||||
</script>
|
||||
gtag('config', 'G-18G0H58X77');
|
||||
</script>
|
||||
|
||||
<!-- Hotjar Tracking Code for IPcalc-u-later -->
|
||||
<script>
|
||||
(function(h,o,t,j,a,r){
|
||||
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
|
||||
h._hjSettings={hjid:5222712,hjsv:6};
|
||||
a=o.getElementsByTagName('head')[0];
|
||||
r=o.createElement('script');r.async=1;
|
||||
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
|
||||
a.appendChild(r);
|
||||
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
|
||||
</script>
|
||||
<?php endif; ?>
|
||||
</head>
|
||||
<body class="bg-gradient-to-r from-primary to-primary-light">
|
||||
<div id="subnet-app"></div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue