]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/Google_Analytics_support.mdwn
c36265bff8d0839fea15e1f6b5276e92756e8953
[ikiwiki.git] / doc / todo / Google_Analytics_support.mdwn
1 [[!template id=gitbranch branch=GiuseppeBilotta/google-analytics
2 author="[[GiuseppeBilotta]]"]]
3
4 I've extended the google plugin to add support for Google Analytics.
5 This is done in two steps:
6
7 * a `google_sitesearch` config option is introduced, to allow disabling
8   sitesearch even when the `google` plugin is loaded
9 * a `google_analytics_account` config option is introduced. When it's
10   defined, its value is assumed to be a Google Analytics account ID
11   and the corresponding JavaScript code is automatically inserted in all
12   documents. The way this is done is shamelessy stolen from the flattr
13   plugin
14