Skip to content

Commit 4137652

Browse files
authored
Update google analytics
1 parent 74ac312 commit 4137652

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

index.html

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@
77
<title>SQL to Laravel Builder</title>
88
<link href="https://cdn.bootcss.com/font-awesome/5.11.2/css/fontawesome.min.css" rel="stylesheet">
99
<link href="https://cdn.bootcss.com/bulma/0.7.5/css/bulma.min.css" rel="stylesheet">
10+
<!-- Global site tag (gtag.js) - Google Analytics -->
11+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z93ZQ8Z1M6"></script>
12+
<script>
13+
window.dataLayer = window.dataLayer || [];
14+
function gtag(){dataLayer.push(arguments);}
15+
gtag('js', new Date());
16+
17+
gtag('config', 'G-Z93ZQ8Z1M6');
18+
</script>
1019
</head>
1120
<body>
1221

@@ -61,15 +70,8 @@ <h1 class="title">
6170
</body>
6271
<script src="js/sql-parser.js"></script>
6372
<script src="js/builder.js"></script>
64-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-Z93ZQ8Z1M6"></script>
6573
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9087401435839175" crossorigin="anonymous"></script>
66-
<script>
67-
window.dataLayer = window.dataLayer || [];
68-
function gtag(){dataLayer.push(arguments);}
69-
gtag('js', new Date());
70-
71-
gtag('config', 'G-Z93ZQ8Z1M6');
72-
74+
<script>
7375
function convert() {
7476
let input = document.getElementById("input").value;
7577

0 commit comments

Comments
 (0)