diff --git a/src/analytics.js b/src/analytics.js new file mode 100644 index 0000000..fef1fbf --- /dev/null +++ b/src/analytics.js @@ -0,0 +1,14 @@ +/* +Google Analytics shit because I'm paranoid +Created by Wyatt J. Miller, published by Entourage Solutions + +*/ + +window.dataLayer = window.dataLayer || []; + +function gtag(){ + dataLayer.push(arguments); +} + +gtag('js', new Date()); +gtag('config', 'UA-119564631-1'); diff --git a/src/index.php b/src/index.php index a9c8de9..b34e7f8 100644 --- a/src/index.php +++ b/src/index.php @@ -8,7 +8,9 @@ + + diff --git a/src/main.js b/src/main.js index b6349ba..6e8909a 100644 --- a/src/main.js +++ b/src/main.js @@ -24,4 +24,17 @@ function mediaDetect(){ } else { console.log("what do you spend your money on?") } +} + +function whatTimeIsIt(){ + var death = new Date(); + + function isPastNoon(){ + if (death.getHours > 12) { + death.getHours()-12; + } else { + death.getHours(); + }} + console.log(isPastNoon(), ":", death.getMinutes(), ":", death.getSeconds()); + } \ No newline at end of file