couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: git commit: updated refs/heads/ga-couchdbdocs to 850eafb
Date Thu, 12 Dec 2013 10:50:37 GMT

On 12 Dec 2013, at 00:28 , Alexander Shorin <kxepal@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 <kxepal@gmail.com> wrote:
>> Do we ship GA tracker with CouchDB releases?(:
>> --
>> ,,,^..^,,,
>> 
>> 
>> On Thu, Dec 12, 2013 at 3:01 AM,  <andywenk@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 <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