From 2eaf8e810822b81b3f6b9f04b5a9ef791dec10b7 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sun, 10 Apr 2011 22:14:20 +0200 Subject: [PATCH] Google Analytics support --- doc/todo/Google_Analytics_support.mdwn | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 doc/todo/Google_Analytics_support.mdwn diff --git a/doc/todo/Google_Analytics_support.mdwn b/doc/todo/Google_Analytics_support.mdwn new file mode 100644 index 000000000..c36265bff --- /dev/null +++ b/doc/todo/Google_Analytics_support.mdwn @@ -0,0 +1,14 @@ +[[!template id=gitbranch branch=GiuseppeBilotta/google-analytics +author="[[GiuseppeBilotta]]"]] + +I've extended the google plugin to add support for Google Analytics. +This is done in two steps: + +* a `google_sitesearch` config option is introduced, to allow disabling + sitesearch even when the `google` plugin is loaded +* a `google_analytics_account` config option is introduced. When it's + defined, its value is assumed to be a Google Analytics account ID + and the corresponding JavaScript code is automatically inserted in all + documents. The way this is done is shamelessy stolen from the flattr + plugin + -- 2.26.2