From 5e9e09e0a886ce3c06b10d686ee255dd90ba4bb9 Mon Sep 17 00:00:00 2001 From: Progi1984 Date: Sun, 21 Jul 2013 21:05:09 +0200 Subject: [PATCH 1/3] Footer : Add piwik_analytics --- index.php | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index ee9354e..01abee7 100644 --- a/index.php +++ b/index.php @@ -279,5 +279,20 @@ if ($homepage && $homepage_url !== '/') { + + + - \ No newline at end of file + From 7be4cea02e45d9936d792fef5a9f08285f612925 Mon Sep 17 00:00:00 2001 From: Progi1984 Date: Sun, 21 Jul 2013 21:08:12 +0200 Subject: [PATCH 2/3] Add documentation for piwik_analytics --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index ca5a752..55cee12 100644 --- a/README.md +++ b/README.md @@ -149,6 +149,13 @@ This will embed the google analytics tracking code. { "google_analytics": "UA-XXXXXXXXX-XX" } + +###Piwik Analytics: +This will embed the piwik tracking code. + + { + "piwik_analytics": "my-url-for-piwik.com" + } ## Running Locally From c13fb0061942494cb20441550df8de6fcb8a70b9 Mon Sep 17 00:00:00 2001 From: Progi1984 Date: Mon, 22 Jul 2013 08:13:00 +0200 Subject: [PATCH 3/3] Init piwik_analytics with false --- libs/functions.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/functions.php b/libs/functions.php index 0283e0f..dc17bc2 100644 --- a/libs/functions.php +++ b/libs/functions.php @@ -35,7 +35,8 @@ function get_options() { 'twitter' => array(), 'links' => array(), 'colors' => false, - 'google_analytics' => false + 'google_analytics' => false, + 'piwik_analytics' => false ); // Load User Config @@ -261,4 +262,4 @@ function get_tree($path = '.', $clean_path = '', $title = ''){ return $tree; } -?> \ No newline at end of file +?>