diff options
author | Markus Eliasson <markus.eliasson@gmail.com> | 2017-04-29 12:51:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-29 12:51:52 +0300 |
commit | 26265f03ef9433c91b73220b31ccf4c78a072d53 (patch) | |
tree | 336fb84f520b702178fcfd2cbee920fa958bcf1b | |
parent | 901ad23e5235e5427d1ad6458bef9d0e4b028eb1 (diff) | |
parent | 7dedfe1e1464fd43928c3e81db61317c0640f917 (diff) |
Merge pull request #12 from apie/ga
Replace custom google analytics code by internal template
-rw-r--r-- | layouts/partials/tail.html | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/layouts/partials/tail.html b/layouts/partials/tail.html index fa0eb12..f557576 100644 --- a/layouts/partials/tail.html +++ b/layouts/partials/tail.html @@ -6,18 +6,6 @@ } //--> </script> - <script type="text/javascript"> - <!-- - var _gaq = _gaq || []; - _gaq.push(['_setAccount', {{ .Site.Params.gaCode }}]); - _gaq.push(['_trackPageview']); - - (function() { - var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; - ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; - var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); - })(); - --> - </script> + {{ template "_internal/google_analytics.html" . }} </body> </html> |