You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by an...@apache.org on 2013/12/12 00:01:40 UTC

git commit: updated refs/heads/ga-couchdbdocs to 850eafb

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 <an...@apache.org>
Authored: Thu Dec 12 00:01:02 2013 +0100
Committer: Andy Wenk <an...@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>


Re: git commit: updated refs/heads/ga-couchdbdocs to 850eafb

Posted by Andy Wenk <an...@nms.de>.
Alex can you help me with the question below?

Thanks and Cheers

Andy


On 12 December 2013 11:52, Andy Wenk <an...@nms.de> wrote:

> I already thought about if there is a way in RTD to provide a GA tracker
> ID but could not finde anything in the sources. Can you point me to the "project's
> admin panel on
> RTD". I don't know about that ...
>
> On 12 December 2013 00:28, Alexander Shorin <kx...@gmail.com> wrote:
>
>> I think it's better to add tracking number in project's admin panel on
>> RTD . There is special field about:
>>
>> Analytics code: Google Analytics Tracking ID (ex. UA-22345342-1). This
>> may slow down your page loads.
>> --
>> ,,,^..^,,,
>>
>>
>> On Thu, Dec 12, 2013 at 3:24 AM, Alexander Shorin <kx...@gmail.com>
>> wrote:
>> > Do we ship GA tracker with CouchDB releases?(:
>> > --
>> > ,,,^..^,,,
>> >
>> >
>> > On Thu, Dec 12, 2013 at 3:01 AM,  <an...@apache.org> wrote:
>> >> 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 <an...@apache.org>
>> >> Authored: Thu Dec 12 00:01:02 2013 +0100
>> >> Committer: Andy Wenk <an...@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>
>> >>
>>
>
>
>
> --
> 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
>



-- 
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

https://people.apache.org/keys/committer/andywenk.asc

Re: git commit: updated refs/heads/ga-couchdbdocs to 850eafb

Posted by Andy Wenk <an...@nms.de>.
I already thought about if there is a way in RTD to provide a GA tracker ID
but could not finde anything in the sources. Can you point me to the "project's
admin panel on
RTD". I don't know about that ...

Thanks and Cheers

Andy


On 12 December 2013 00:28, Alexander Shorin <kx...@gmail.com> wrote:

> I think it's better to add tracking number in project's admin panel on
> RTD . There is special field about:
>
> Analytics code: Google Analytics Tracking ID (ex. UA-22345342-1). This
> may slow down your page loads.
> --
> ,,,^..^,,,
>
>
> On Thu, Dec 12, 2013 at 3:24 AM, Alexander Shorin <kx...@gmail.com>
> wrote:
> > Do we ship GA tracker with CouchDB releases?(:
> > --
> > ,,,^..^,,,
> >
> >
> > On Thu, Dec 12, 2013 at 3:01 AM,  <an...@apache.org> wrote:
> >> 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 <an...@apache.org>
> >> Authored: Thu Dec 12 00:01:02 2013 +0100
> >> Committer: Andy Wenk <an...@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>
> >>
>



-- 
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

Re: git commit: updated refs/heads/ga-couchdbdocs to 850eafb

Posted by Andy Wenk <an...@nms.de>.
On 12 December 2013 11:50, Jan Lehnardt <ja...@apache.org> wrote:

>
> On 12 Dec 2013, at 00:28 , Alexander Shorin <kx...@gmail.com> wrote:
>
> > I think it's better to add tracking number in project's admin panel on
> > RTD . There is special field about:
> >
> > Analytics code: Google Analytics Tracking ID (ex. UA-22345342-1). This
> > may slow down your page loads.
>
> I’d prefer that as well.
>
> Best
> Jan
> --


my 50ct about page slow down .... erm ... I don't think this is an issue
referred to the hits we have on the docs :)

But I still prefer the solution to put the ID to a better place ... my
solution is kind of a "bad workaround" :)

Cheers

Andy



>  > --
> > ,,,^..^,,,
> >
> >
> > On Thu, Dec 12, 2013 at 3:24 AM, Alexander Shorin <kx...@gmail.com>
> wrote:
> >> Do we ship GA tracker with CouchDB releases?(:
> >> --
> >> ,,,^..^,,,
> >>
> >>
> >> On Thu, Dec 12, 2013 at 3:01 AM,  <an...@apache.org> wrote:
> >>> 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 <an...@apache.org>
> >>> Authored: Thu Dec 12 00:01:02 2013 +0100
> >>> Committer: Andy Wenk <an...@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>
> >>>
>
>


-- 
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

Re: git commit: updated refs/heads/ga-couchdbdocs to 850eafb

Posted by Jan Lehnardt <ja...@apache.org>.
On 12 Dec 2013, at 00:28 , Alexander Shorin <kx...@gmail.com> wrote:

> I think it's better to add tracking number in project's admin panel on
> RTD . There is special field about:
> 
> Analytics code: Google Analytics Tracking ID (ex. UA-22345342-1). This
> may slow down your page loads.

I’d prefer that as well.

Best
Jan
-- 

> --
> ,,,^..^,,,
> 
> 
> On Thu, Dec 12, 2013 at 3:24 AM, Alexander Shorin <kx...@gmail.com> wrote:
>> Do we ship GA tracker with CouchDB releases?(:
>> --
>> ,,,^..^,,,
>> 
>> 
>> On Thu, Dec 12, 2013 at 3:01 AM,  <an...@apache.org> wrote:
>>> 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 <an...@apache.org>
>>> Authored: Thu Dec 12 00:01:02 2013 +0100
>>> Committer: Andy Wenk <an...@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>
>>> 


Re: git commit: updated refs/heads/ga-couchdbdocs to 850eafb

Posted by Alexander Shorin <kx...@gmail.com>.
I think it's better to add tracking number in project's admin panel on
RTD . There is special field about:

Analytics code: Google Analytics Tracking ID (ex. UA-22345342-1). This
may slow down your page loads.
--
,,,^..^,,,


On Thu, Dec 12, 2013 at 3:24 AM, Alexander Shorin <kx...@gmail.com> wrote:
> Do we ship GA tracker with CouchDB releases?(:
> --
> ,,,^..^,,,
>
>
> On Thu, Dec 12, 2013 at 3:01 AM,  <an...@apache.org> wrote:
>> 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 <an...@apache.org>
>> Authored: Thu Dec 12 00:01:02 2013 +0100
>> Committer: Andy Wenk <an...@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>
>>

Re: git commit: updated refs/heads/ga-couchdbdocs to 850eafb

Posted by Alexander Shorin <kx...@gmail.com>.
Do we ship GA tracker with CouchDB releases?(:
--
,,,^..^,,,


On Thu, Dec 12, 2013 at 3:01 AM,  <an...@apache.org> wrote:
> 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 <an...@apache.org>
> Authored: Thu Dec 12 00:01:02 2013 +0100
> Committer: Andy Wenk <an...@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>
>