couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andyw...@apache.org
Subject git commit: updated refs/heads/ga-couchdbdocs to 850eafb
Date Wed, 11 Dec 2013 23:01:40 GMT
Updated Branches:
  refs/heads/ga-couchdbdocs [created] 850eafbdd


added google analytics code to docs


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/850eafbd
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/850eafbd
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/850eafbd

Branch: refs/heads/ga-couchdbdocs
Commit: 850eafbddc0b7c5600dc6f642c33e313f2b57279
Parents: 9c641f1
Author: Andy Wenk <andywenk@apache.org>
Authored: Thu Dec 12 00:01:02 2013 +0100
Committer: Andy Wenk <andywenk@apache.org>
Committed: Thu Dec 12 00:01:02 2013 +0100

----------------------------------------------------------------------
 share/doc/static/ga-couchdbdocs.js | 6 ++++++
 share/doc/templates/searchbox.html | 1 +
 2 files changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/850eafbd/share/doc/static/ga-couchdbdocs.js
----------------------------------------------------------------------
diff --git a/share/doc/static/ga-couchdbdocs.js b/share/doc/static/ga-couchdbdocs.js
new file mode 100644
index 0000000..6276f60
--- /dev/null
+++ b/share/doc/static/ga-couchdbdocs.js
@@ -0,0 +1,6 @@
+(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+ga('create', 'UA-658988-6', 'auto', {'name': 'couchdbdocs'});
+ga('couchdbdocs.send', 'pageview');
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/couchdb/blob/850eafbd/share/doc/templates/searchbox.html
----------------------------------------------------------------------
diff --git a/share/doc/templates/searchbox.html b/share/doc/templates/searchbox.html
index fa12a7f..7926b15 100644
--- a/share/doc/templates/searchbox.html
+++ b/share/doc/templates/searchbox.html
@@ -29,3 +29,4 @@ specific language governing permissions and limitations under the License.
 </div>
 
 <script type="text/javascript">$('#searchbox').show(0);</script>
+<script type="text/javascript" src="{{ pathto('_static/ga-couchdbdocs.js', 1) }}"></script>


Mime
View raw message