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">
|
<link rel="stylesheet" href="/dist/css/app.css">
|
||||||
<script type="module" src="/dist/scripts/app.js"></script>
|
<script type="module" src="/dist/scripts/app.js"></script>
|
||||||
|
|
||||||
<!-- Google tag (gtag.js) -->
|
<?php if (!\Core\Env\Env::get('debug')) : ?>
|
||||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-18G0H58X77"></script>
|
<!-- Google tag (gtag.js) -->
|
||||||
<script>
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-18G0H58X77"></script>
|
||||||
window.dataLayer = window.dataLayer || [];
|
<script>
|
||||||
function gtag(){dataLayer.push(arguments);}
|
window.dataLayer = window.dataLayer || [];
|
||||||
gtag('js', new Date());
|
function gtag(){dataLayer.push(arguments);}
|
||||||
|
gtag('js', new Date());
|
||||||
|
|
||||||
gtag('config', 'G-18G0H58X77');
|
gtag('config', 'G-18G0H58X77');
|
||||||
</script>
|
</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>
|
</head>
|
||||||
<body class="bg-gradient-to-r from-primary to-primary-light">
|
<body class="bg-gradient-to-r from-primary to-primary-light">
|
||||||
<div id="subnet-app"></div>
|
<div id="subnet-app"></div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue