diff options
author | Matthew Lemon <y@yulqen.org> | 2024-12-16 19:55:24 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-12-16 19:55:24 +0000 |
commit | 867e09f694fce71dc8b3d7e086190507e47c3a0f (patch) | |
tree | 2fb2551b6a6507fbce5d6474be589ce9c52cd422 | |
parent | 76148a0612285c2d008f02c67c11ff91dddd7b96 (diff) |
Adds Google Analytics
-rw-r--r-- | alphabetlearning/templates/base.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/alphabetlearning/templates/base.html b/alphabetlearning/templates/base.html index f26fb72..c969cac 100644 --- a/alphabetlearning/templates/base.html +++ b/alphabetlearning/templates/base.html @@ -53,6 +53,15 @@ <script src="https://js.stripe.com/v3/"></script> {% endblock javascript %} </head> +<!-- Google tag (gtag.js) --> +<script async src="https://www.googletagmanager.com/gtag/js?id=G-JLK7ZKBFPC"></script> +<script> + window.dataLayer = window.dataLayer || []; + function gtag(){dataLayer.push(arguments);} + gtag('js', new Date()); + + gtag('config', 'G-JLK7ZKBFPC'); +</script> <body> |