Skip to content

Commit f925535

Browse files
committed
adding google tag
1 parent f3c8c22 commit f925535

File tree

1 file changed

+9
-0
lines changed
  • src/django_project/web/templates/web/full

1 file changed

+9
-0
lines changed

src/django_project/web/templates/web/full/index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@
44
<html lang="en">
55

66
<head>
7+
<!-- Google tag (gtag.js) -->
8+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-X6VK8H1VLF"></script>
9+
<script>
10+
window.dataLayer = window.dataLayer || [];
11+
function gtag(){dataLayer.push(arguments);}
12+
gtag('js', new Date());
13+
14+
gtag('config', 'G-X6VK8H1VLF');
15+
</script>
716
<meta charset="UTF-8">
817
<meta name="viewport" content="width=device-width, initial-scale=1.0">
918
<meta name="description"

0 commit comments

Comments
 (0)