Skip to content

Commit

Permalink
add google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
njmsaikat committed Jun 9, 2024
1 parent e89cf61 commit 4a76b04
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 2 deletions.
9 changes: 9 additions & 0 deletions blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@

</head>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Q66HBNTPYC"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-Q66HBNTPYC');
</script>
<body>


Expand Down
10 changes: 9 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,15 @@
<link href="assets/css/style.css" rel="stylesheet">

</head>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Q66HBNTPYC"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-Q66HBNTPYC');
</script>
<body>

<!-- ======= Mobile nav toggle button ======= -->
Expand Down
10 changes: 10 additions & 0 deletions portfolio-details.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@
======================================================== -->
</head>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Q66HBNTPYC"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-Q66HBNTPYC');
</script>

<body>

<!-- ======= Mobile nav toggle button ======= -->
Expand Down
10 changes: 9 additions & 1 deletion portfolio-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,15 @@
<link href="assets/css/style.css" rel="stylesheet">

</head>

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Q66HBNTPYC"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-Q66HBNTPYC');
</script>
<body>


Expand Down

0 comments on commit 4a76b04

Please sign in to comment.