mirror of
https://github.com/asimonson1125/asimonson1125.github.io.git
synced 2026-02-25 05:09:49 -06:00
header analytics
This commit is contained in:
@@ -13,7 +13,15 @@
|
|||||||
-->
|
-->
|
||||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
||||||
|
|
||||||
<link rel="stylesheet" href="/path/to/flickity.css" media="screen">
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||||
|
<script async src="https://www.googletagmanager.com/gtag/js?id=G-E2V93W9CNV"></script>
|
||||||
|
<script>
|
||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag() { dataLayer.push(arguments); }
|
||||||
|
gtag('js', new Date());
|
||||||
|
|
||||||
|
gtag('config', 'G-E2V93W9CNV');
|
||||||
|
</script>
|
||||||
|
|
||||||
<title>Simonson - Portfolio</title>
|
<title>Simonson - Portfolio</title>
|
||||||
</head>
|
</head>
|
||||||
@@ -21,7 +29,6 @@
|
|||||||
<body>
|
<body>
|
||||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
<script src="/path/to/flickity.pkgd.min.js"></script>
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
6
src/analytics.js
Normal file
6
src/analytics.js
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
function gtag() { dataLayer.push(arguments); }
|
||||||
|
gtag('js', new Date());
|
||||||
|
|
||||||
|
gtag('config', 'G-E2V93W9CNV');
|
||||||
|
console.log("HHHHHHHHHHHHHH")
|
||||||
Reference in New Issue
Block a user