aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-04-10 22:14:20 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-04-10 22:14:20 +0200
commit2eaf8e810822b81b3f6b9f04b5a9ef791dec10b7 (patch)
tree966f8811110ecda0dd4b03c3f8b8173e0a6d10e1 /doc
parentab2d21970f8b291c674f9f656c8ef7c7611879a7 (diff)
downloadikiwiki-2eaf8e810822b81b3f6b9f04b5a9ef791dec10b7.tar
ikiwiki-2eaf8e810822b81b3f6b9f04b5a9ef791dec10b7.tar.gz
Google Analytics support
Diffstat (limited to 'doc')
-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
+