diff options
| author | mo khan <mo@mokhan.ca> | 2016-06-09 21:54:17 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2016-06-09 21:54:17 -0600 |
| commit | 162e502fac81ffd02a1dd653e7eadaf3da06d652 (patch) | |
| tree | 65bd7ed1934e7d6a8fad962bbead9c610bb4e7d4 /_layouts/default.html | |
| parent | e35c67fe8bbf90efded95d201b589fccc06d485e (diff) | |
add google analytics tracking.
Diffstat (limited to '_layouts/default.html')
| -rw-r--r-- | _layouts/default.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index e4ab96f..b7c0030 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -16,5 +16,13 @@ {% include footer.html %} </body> + <script> + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); + ga('create', 'UA-79122200-1', 'auto'); + ga('send', 'pageview'); + </script> </html> |
