summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/todo/Google_Analytics_support.mdwn14
1 files changed, 14 insertions, 0 deletions
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
+