aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2020-02-08 21:36:01 +0800
committerGitHub <[email protected]>2020-02-08 21:36:01 +0800
commit4b68068138a019dfb854b2de7a1be5472751b454 (patch)
treebc859af7366476df27f44c219c9746e729e01946
parent7945d2c85721198910c9583b31a42d185c93b036 (diff)
downloadblog.jinwei.me-4b68068138a019dfb854b2de7a1be5472751b454.tar.gz
add Google Analytics
-rw-r--r--_templates/layout.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/_templates/layout.html b/_templates/layout.html
index 0d83f1e..fb9a9c2 100644
--- a/_templates/layout.html
+++ b/_templates/layout.html
@@ -22,6 +22,15 @@
22<meta name="msapplication-TileColor" content="#ffffff"> 22<meta name="msapplication-TileColor" content="#ffffff">
23<meta name="msapplication-TileImage" content="/ms-icon-144x144.png"> 23<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
24<meta name="theme-color" content="#ffffff"> 24<meta name="theme-color" content="#ffffff">
25<!-- Global site tag (gtag.js) - Google Analytics -->
26<script async src="https://www.googletagmanager.com/gtag/js?id=UA-91737359-11"></script>
27<script>
28 window.dataLayer = window.dataLayer || [];
29 function gtag(){dataLayer.push(arguments);}
30 gtag('js', new Date());
31
32 gtag('config', 'UA-91737359-11');
33</script>
25 34
26{%- block doctype -%} 35{%- block doctype -%}
27<!DOCTYPE html> 36<!DOCTYPE html>
Powered by cgit v1.2.3 (git 2.41.0)