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
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-bounces@lists.bx.psu.edu [galaxy-dev-bounces@lists.bx.psu.edu] on behalf of Steve.Mcmahon@csiro.au [Steve.Mcmahon@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/
Thanks Ron, This will be a big help. Cheers. Steve McMahon Manager, ASC Cluster Services Information Management & Technology (IM&T) CSIRO Phone: +61-2-62142968 | Mobile: +61-4-00779318 steve.mcmahon@csiro.au | www.csiro.au PO Box 225, DICKSON ACT 2602 1 Wilf Crane Crescent, Yarralumla ACT 2600 -----Original Message----- From: Ron Horst [mailto:r.horst@uq.edu.au] Sent: Wednesday, 3 July 2013 12:09 AM To: McMahon, Steve (CSIRO IM&T, Yarralumla); galaxy-dev@lists.bx.psu.edu Subject: RE: Galaxy + google analytics? 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-bounces@lists.bx.psu.edu [galaxy-dev-bounces@lists.bx.psu.edu] on behalf of Steve.Mcmahon@csiro.au [Steve.Mcmahon@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/
participants (2)
-
Ron Horst
-
Steve.Mcmahon@csiro.au