From 06f965d1bd0dc0f7c49b2cc83d77780dd65f4bcb Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Mon, 30 Nov 2015 15:48:48 +0100 Subject: [PATCH] [www] add Google Analytics JavaScript tracking snippet code Change-Id: I5a6c5a16be45e99196e285b79e04e41daa5abce5 Closes-Bug: #1516819 --- www/templates/base.tmpl | 1 + www/templates/google_analytics.tmpl | 11 +++++++++++ www/templates/indexbase.tmpl | 1 + 3 files changed, 13 insertions(+) create mode 100644 www/templates/google_analytics.tmpl diff --git a/www/templates/base.tmpl b/www/templates/base.tmpl index b1e4bdc9fe..567919c06d 100644 --- a/www/templates/base.tmpl +++ b/www/templates/base.tmpl @@ -9,6 +9,7 @@ {% include 'templates/css.tmpl' %} +{% include 'templates/google_analytics.tmpl' %} {% include 'templates/header.tmpl' %} diff --git a/www/templates/google_analytics.tmpl b/www/templates/google_analytics.tmpl new file mode 100644 index 0000000000..e4f91ee560 --- /dev/null +++ b/www/templates/google_analytics.tmpl @@ -0,0 +1,11 @@ + + + diff --git a/www/templates/indexbase.tmpl b/www/templates/indexbase.tmpl index ce77503cec..c2959fb093 100644 --- a/www/templates/indexbase.tmpl +++ b/www/templates/indexbase.tmpl @@ -10,6 +10,7 @@ {% include 'templates/css.tmpl' %} +{% include 'templates/google_analytics.tmpl' %} {% include 'templates/header.tmpl' %}