Skip to content

Commit

Permalink
Add google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
osamajandali committed Dec 2, 2024
1 parent 8e77621 commit 0849ff9
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 12 deletions.
34 changes: 23 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
</head>
<body class="bg-secondary-lightest-1">
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>

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

gtag('config', 'G-G0FBNWR63G');
</script>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/if-logo.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>IF Visualizer</title>
</head>

<body class="bg-secondary-lightest-1">
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>

</html>
22 changes: 22 additions & 0 deletions public/if-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion public/vite.svg

This file was deleted.

0 comments on commit 0849ff9

Please sign in to comment.