google analytics inclusion (change later)
This commit is contained in:
parent
61f3ca00a7
commit
c727b276cc
4 changed files with 45 additions and 8 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -2,6 +2,30 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-136831794-2"></script>
|
||||
<script>
|
||||
// Temporarily disable the tracking for testing (set to false to enable Analytics)
|
||||
window['ga-disable-UA-136831794-2'] = false;
|
||||
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
|
||||
function gtag() {
|
||||
dataLayer.push(arguments);
|
||||
}
|
||||
|
||||
// Default no consent to share cookie data
|
||||
gtag('consent', 'default', {
|
||||
'ad_storage': 'denied',
|
||||
'analytics_storage': 'denied'
|
||||
});
|
||||
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'UA-136831794-2');
|
||||
</script>
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<link href="favicon.png" rel="icon">
|
||||
|
|
@ -132,8 +156,4 @@
|
|||
<!-- Populate HTML at load (before img and css) -->
|
||||
<!-- <script>
|
||||
document.addEventListener("DOMContentLoaded", InitialHTMLPopulate(DIV_ID));
|
||||
</script> -->
|
||||
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-136831794-2"></script>
|
||||
<!-- <script src="js/analytics.js"></script> -->
|
||||
</script> -->
|
||||
|
|
@ -11,7 +11,7 @@ require("../img/thumbnail1200x628.jpg");
|
|||
// require("./LoadJson.js");
|
||||
|
||||
// Google Analytics start script
|
||||
require("./analytics.js")
|
||||
// require("./analytics.js")
|
||||
|
||||
// Load Save File for opening files, decoding, decryption
|
||||
require("./LoadSaveFile.js");
|
||||
|
|
|
|||
Loading…
Reference in a new issue