Merge pull request #60 from cominvent/remove-ga

Remove Google Analytics from Lucene site
diff --git a/content/pages/privacy.md b/content/pages/privacy.md
index 927d612..d86930f 100644
--- a/content/pages/privacy.md
+++ b/content/pages/privacy.md
@@ -3,16 +3,5 @@
 save_as: privacy.html
 template: lucene/tlp/page
 
-Information about your use of this website is collected using server access logs and a tracking cookie. The collected information consists of the following:
-
-The IP address from which you access the website;
-The type of browser and operating system you use to access our site;
-The date and time you access our site;
-The pages you visit; and
-The addresses of pages from where you followed a link to our site.
-Part of this information is gathered using a tracking cookie set by the [Google Analytics](http://www.google.com/analytics) service and handled by Google as described in their [privacy policy](http://www.google.com/privacy.html). See your browser documentation for instructions on how to disable the cookie if you prefer not to share this data with Google.
-
-We use the gathered information to help us make our site more useful to visitors and to better understand how and when our site is
- used. We do not track or collect personally identifiable information or associate gathered data with any personally identifying information from other sources.
-
-By using this website, you consent to the collection of this data in the manner and for the purpose described above.
+Information about your use of this website is collected using server access logs, and stored in aggregated and
+anonoymized form for the purpose of usage statistics. We don't use 3rd party trackers.
diff --git a/pelicanconf.py b/pelicanconf.py
index 005beba..38ec651 100755
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -74,7 +74,7 @@
 SOCIAL = (('You can add links in your config file', '#'),
           ('Another social link', '#'),)
 
-GOOGLE_ANALYTICS_TRACKING_ID = 'UA-94576-12'
+#GOOGLE_ANALYTICS_TRACKING_ID = 'UA-94576-12'
 
 DEFAULT_PAGINATION = False
 
diff --git a/themes/lucene/templates/_analytics.html b/themes/lucene/templates/_analytics.html
deleted file mode 100644
index 714c119..0000000
--- a/themes/lucene/templates/_analytics.html
+++ /dev/null
@@ -1,13 +0,0 @@
-<script type="text/javascript">
-
-  var _gaq = _gaq || [];
-  _gaq.push(['_setAccount', '{{ GOOGLE_ANALYTICS_TRACKING_ID}}']);
-  _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>
diff --git a/themes/lucene/templates/lucene/base.html b/themes/lucene/templates/lucene/base.html
index 5a7e099..3a88076 100644
--- a/themes/lucene/templates/lucene/base.html
+++ b/themes/lucene/templates/lucene/base.html
@@ -59,6 +59,5 @@
 
       {% include "lucene/_footer.html" %}
     </div> <!-- End #wrap -->
-    {% include "_analytics.html" %}
   </body>
 </html>