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 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 + 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 +?>