Welcome, Guest
Please Login or Register.
Lost Password?
New Google Analytics module (1 viewing)
Post Reply

TOPIC: New Google Analytics module

#8513
Joe (Admin)
Posts: 3784
graph
Re: Re: New Google Analytics module 2007/11/16 09:50  
Hmmm...Strange. There is an update to that module going into the repo today, so maybe there's a bug that I wasn't aware of.

It should work on HTML, PHP, CGI, whatever. That's the fancy thing about it. If it doesn't work in all of those contexts, then it fails at being fancy...and we refuse to fail at being fancy. ;-)
  The topic has been locked.
#8611
PlayGod (User)
Posts: 90
graphgraph
Re:New Google Analytics module 2007/11/20 20:07  
Looks like it's working properly on standard versions of Joomla 1.0, 1.5 and Wordpress.

The particular Wordpress install I was having trouble with, I ended up doing the manual Google urchin script method (put urchin code in the footer.php theme file).

I haven't figured out the problem yet, and I probably won't sweat it... it could be a template issue... The auto-inserted analytics code is displaying on the admin pages and every other HTML or PHP page.

And that may be a problem... I don't really want my admin pages tracked by Google. The nice thing about Google Analytics is that it tracks only your relevant content and legitimate visitors. Tailoring the logfile analysis tools to do the same thing is more difficult.

Also, a small criticism/correction: Analytics is misspelled Analyics (missing "t") most places in Virtualmin.

notice that "analytics" is spelled with a "t" ;¬)

Post edited by: PlayGod, at: 2007/12/21 15:24
  The topic has been locked.
#8612
Joe (Admin)
Posts: 3784
graph
Re:New Google Analytics module 2007/11/20 22:40  
Also, a small criticism/correction: Analytics is misspelled Analyics (missing "t") most places in Virtualmin.

I believe this is fixed in the version of the module I rolled out a couple of days ago, but I'll double check.
  The topic has been locked.
#8616
PlayGod (User)
Posts: 90
graphgraph
Re:New Google Analytics module 2007/11/21 04:50  
Misspelled on "Edit Analyics Accounts" "Virtualmin Analyics" and in the checkbox choices on "Edit Virtual Server"

my v 1.5-1 is still reporting "Enabled but no account set" on "Virtualmin Analyics" page, though I have definitely enabled working accounts on several domains.

FYI

Webmin version 1.380
Virtualmin version 3.48 (Pro)
Operating system CentOS Linux 5
Apache version 2.2.3
PHP version 5
MySQL version 5.0.22
  The topic has been locked.
#9161
nhsitehost (User)
Posts: 45
graphgraph
Re:New Google Analytics module 2007/12/21 06:11  
There is an update to the javascript code located on the google site.
will this new code be implemented soon?
  The topic has been locked.
#9193
PlayGod (User)
Posts: 90
graphgraph
Re:New Google Analytics module 2007/12/21 15:22  
unless the prot://sub.domain.tld.path/name.ext of the js has changed, it should be automatic. The js call the module inserts is http://www.google-analytics.com/urchin.js
  The topic has been locked.
#9199
nhsitehost (User)
Posts: 45
graphgraph
Re:New Google Analytics module 2007/12/22 02:29  
here is a sample of the new code

old code:
Code:

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-XXXXX-1"; urchinTracker(); </script>



new code:
Code:

<script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> var pageTracker = _gat._getTracker("UA-XXXXX-1"); pageTracker._initData(); pageTracker._trackPageview(); </script>


from google:
Use this tracking code to gain access to a wide range of exciting new features as they become availabl
  The topic has been locked.
#9208
PlayGod (User)
Posts: 90
graphgraph
Re:New Google Analytics module 2007/12/22 17:28  
as they become available
So it's currently vaporware?

I'll take a look at my Analytics account next week to see if it's worth upgrading my urchins.

I would avoid this module anyway, it drops the urchin in every single html file rendered by the server, which is overkill and will give you more analytics results than you need.

It's really better to just put it in your page templates so it only shows up on the pages you want to track.
  The topic has been locked.
#10696
phynias (User)
Posts: 21
graphgraph
Re:New Google Analytics module 2008/02/29 23:08  
doesn't seem to work if you are using fastcgi with php
  The topic has been locked.
#10718
i4tas (User)
Posts: 6
graphgraph
Re:New Google Analytics module 2008/03/02 07:48  
Anyone figure out a way to fix the fastcgi with php problem?

Mine works great with html sites... but my php sites don't connect.
  The topic has been locked.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.