From: M. Taylor Saotome-Westlake Date: Sat, 10 Jun 2017 02:55:30 +0000 (-0700) Subject: Google Analytics X-Git-Url: http://534655.efjtl6rk.asia/source?a=commitdiff_plain;h=ce296dfb753cc91094de2b5ac3222263e4ef30bc;p=Ultimately_Untrue_Thought.git Google Analytics I had procrastinated on setting this up because I thought it would be more wholesomely educational to learn to use a less-magical tool to analyze the Nginx logs, rather than outsourcing this task (like increasingly the rest of the world) to Google. But finding out who likes me and hates me is more important than wholesome log-analysis education! The Google-Analytics JavaScript fragment that came with the theme looks old compared to the one I got from the setup dashboard? --- diff --git a/publishconf.py b/publishconf.py index 6ed4609..738f1f3 100644 --- a/publishconf.py +++ b/publishconf.py @@ -20,7 +20,4 @@ CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml' DELETE_OUTPUT_DIRECTORY = True -# Following items are often useful when publishing - -#DISQUS_SITENAME = "" -#GOOGLE_ANALYTICS = "" +GOOGLE_ANALYTICS = "UA-100822263-1" diff --git a/theme/templates/base.html b/theme/templates/base.html index 9722dcb..fd8f60f 100644 --- a/theme/templates/base.html +++ b/theme/templates/base.html @@ -99,13 +99,16 @@ {% if GOOGLE_ANALYTICS %} - - {% endif %} + + {% endif %}