Steve

The GVL project has done it

In template/base.mako & template/base/*.mako, add the following, where UA-nnnn 
= your Google Analytic user account
  
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-nnnnnn']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; 
ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
  })();

</script>

Ron
Genomics Virtual Lab
Uni Qld
________________________________________
From: galaxy-dev-boun...@lists.bx.psu.edu [galaxy-dev-boun...@lists.bx.psu.edu] 
on behalf of steve.mcma...@csiro.au [steve.mcma...@csiro.au]
Sent: Tuesday, 2 July 2013 12:10 AM
To: galaxy-dev@lists.bx.psu.edu
Subject: [galaxy-dev] Galaxy + google analytics?

Has anyone hooked Galaxy up to Google analytics? We get great reporting from 
the Galaxy reports interface but we don't get number of connections and some 
other things that Google analytics would give us.

:)

Sent from my iPad
___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/
___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

Reply via email to