couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Wenk <a...@nms.de>
Subject Re: [docs] Analytics on docs.couchdb.org
Date Wed, 11 Dec 2013 23:04:45 GMT
On 11 December 2013 22:27, Jan Lehnardt <jan@apache.org> wrote:

>
> On 11 Dec 2013, at 21:46 , Andy Wenk <andy@nms.de> wrote:
>
> > On 4 December 2013 16:41, Noah Slater <nslater@apache.org> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message