On 11 December 2013 22:27, Jan Lehnardt <[email protected]> wrote: > > On 11 Dec 2013, at 21:46 , Andy Wenk <[email protected]> wrote: > > > On 4 December 2013 16:41, Noah Slater <[email protected]> wrote: > > Okay, we have this: > > > > https://support.google.com/analytics/answer/1032400?hl=en > > > > > For more information on implementing multiple instances of the > tracking code with the analytics.js library, consult the Analytics > Developer Guide. > > > > If someone wants to look at this and prepare the code needed to add a > > second tracking code, I can provide the tracking ID. (I have access to > > the main CouchDB GA account.) > > > > I had a look at this. As far as I understood, we just need to add > > > > ga('create', 'UA-12345-6', 'auto', {'name': 'docs-couchdb'}); > > ga('docs-couchdb.send', 'pageview'); > > > > (where UA-12345-6 has to be replaced with the CouchDB tracking ID) > > > > to a feasible place - at the end it could be the searchbox template > proposed by Benjamin. Noah, if you send me the ID I will check this and add > it ... > > UA-658988-6 > > Thanks! > Jan > -- >
I have added the code in the branch ga-couchdbdocs. Please review. Be aware, that the tracking will not be fired unless you run the docs in a server ... like a local nginx ... Feel free to change and or merge into master :) Cheers Andy -- Andy Wenk Hamburg - Germany RockIt! http://www.couchdb-buch.de http://www.pg-praxisbuch.de GPG fingerprint: C044 8322 9E12 1483 4FEC 9452 B65D 6BE3 9ED3 9588
