Skip to content

Commit bab8cca

Browse files
Google set Exp
1 parent 11c490d commit bab8cca

File tree

6 files changed

+15
-30
lines changed

6 files changed

+15
-30
lines changed

layouts/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ <h4 style="align-items: center;">Tools, Games, Art, Animation</h4>
2525
</div>
2626
</main>
2727
<script src="js/feedback.js" ></script>
28+
{{partial "googlegtag.html" .}}
2829
</body>
2930

3031
</html>

layouts/partials/googlegtag.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-VM01Q3R43D" type="text/javascript" defer></script>
2+
<script>
3+
window.dataLayer = window.dataLayer || [];
4+
function gtag() { dataLayer.push(arguments); }
5+
gtag('js', new Date());
6+
gtag('config', 'G-VM01Q3R43D');
7+
</script>

layouts/partials/header.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,7 @@
2020
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
2121
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
2222
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
23-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-VM01Q3R43D"></script>
2423
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#e5e9f4">
25-
<script>
26-
window.dataLayer = window.dataLayer || [];
27-
function gtag() { dataLayer.push(arguments); }
28-
gtag('js', new Date());
29-
gtag('config', 'G-VM01Q3R43D');
30-
</script>
3124

3225
<title>{{ .Title }}</title>
3326
<meta name="msapplication-TileColor" content="#e5e9f4">

public/games/index.html

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,7 @@
2424
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
2525
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
2626
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
27-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-VM01Q3R43D"></script>
2827
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#e5e9f4">
29-
<script>
30-
window.dataLayer = window.dataLayer || [];
31-
function gtag() { dataLayer.push(arguments); }
32-
gtag('js', new Date());
33-
gtag('config', 'G-VM01Q3R43D');
34-
</script>
3528

3629
<title>Games</title>
3730
<meta name="msapplication-TileColor" content="#e5e9f4">
@@ -90,7 +83,6 @@
9083
</script>
9184

9285

93-
9486
<meta property="og:title" content="Games" />
9587
<meta property="og:description" content="CodeFryDev is your ultimate destination for diverse digital content and tools. Enjoy our extensive game collection, innovative productivity apps, and micro applications for quick solutions. Access educational materials, interactive courses, and comprehensive tutorials for all skill levels. Fuel your creativity with design resources and versatile tools for efficient project completion. Visit CodeFryDev today and explore all we have to offer!" />
9688
<meta property="og:type" content="website" />

public/history/index.html

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,7 @@
2323
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
2424
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
2525
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
26-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-VM01Q3R43D"></script>
2726
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#e5e9f4">
28-
<script>
29-
window.dataLayer = window.dataLayer || [];
30-
function gtag() { dataLayer.push(arguments); }
31-
gtag('js', new Date());
32-
gtag('config', 'G-VM01Q3R43D');
33-
</script>
3427

3528
<title>History</title>
3629
<meta name="msapplication-TileColor" content="#e5e9f4">
@@ -89,7 +82,6 @@
8982
</script>
9083

9184

92-
9385
<meta property="og:title" content="History" />
9486
<meta property="og:description" content="CodeFryDev is your ultimate destination for diverse digital content and tools. Enjoy our extensive game collection, innovative productivity apps, and micro applications for quick solutions. Access educational materials, interactive courses, and comprehensive tutorials for all skill levels. Fuel your creativity with design resources and versatile tools for efficient project completion. Visit CodeFryDev today and explore all we have to offer!" />
9587
<meta property="og:type" content="website" />

public/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,7 @@
2525
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
2626
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
2727
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
28-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-VM01Q3R43D"></script>
2928
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#e5e9f4">
30-
<script>
31-
window.dataLayer = window.dataLayer || [];
32-
function gtag() { dataLayer.push(arguments); }
33-
gtag('js', new Date());
34-
gtag('config', 'G-VM01Q3R43D');
35-
</script>
3629

3730
<title>Code Fry Dev</title>
3831
<meta name="msapplication-TileColor" content="#e5e9f4">
@@ -378,6 +371,13 @@ <h4 style="align-items: center;">Tools, Games, Art, Animation</h4>
378371
</div>
379372
</main>
380373
<script src="js/feedback.js" ></script>
374+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-VM01Q3R43D" type="text/javascript" defer></script>
375+
<script>
376+
window.dataLayer = window.dataLayer || [];
377+
function gtag() { dataLayer.push(arguments); }
378+
gtag('js', new Date());
379+
gtag('config', 'G-VM01Q3R43D');
380+
</script>
381381
</body>
382382

383383
</html>

0 commit comments

Comments
 (0)