# HG changeset patch # User Alexandre Segura # Date 1492096157 -7200 # Node ID a4d4774eb146edb9da644240d32b026e8d0a4e0c # Parent 0572214c8546db37cadebeeae4db5ce868a5c21d Add Google Analytics tracking. diff -r 0572214c8546 -r a4d4774eb146 src/iconolab/templates/iconolab_base.html --- a/src/iconolab/templates/iconolab_base.html Wed Apr 12 19:41:30 2017 +0200 +++ b/src/iconolab/templates/iconolab_base.html Thu Apr 13 17:09:17 2017 +0200 @@ -41,5 +41,8 @@ {% endif %} + {% if not "localhost" in request.get_host %} + {% include "partials/google_analytics.html" %} + {% endif %} diff -r 0572214c8546 -r a4d4774eb146 src/iconolab/templates/partials/google_analytics.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/iconolab/templates/partials/google_analytics.html Thu Apr 13 17:09:17 2017 +0200 @@ -0,0 +1,9 @@ +