we've setup google analytics on our external facing internet site and its been running great for the past year.
But now, we're looking at employing the same solution to our intranet.
Reading the FAQ on google, states that analytics requires two things for it to work correctly.
First, your internal network needs to be able to access certain resource files located on google's server.
Secondly, the site needs to have a FQDN (Fully Qualified Domain Name).
My problem is our intranet doesn't have an FQDN.
Read a few posts that there is a simple workaround for this.
First, copy the google tracking code and add it to a page on a site that does have a FQDN.
Add the _setDomainName property to the code, just beneath the variable declaration for pageTracker.
var pageTracker = _gat._getTracker("UA-xxxxxx-x");
pageTracker._setDomainName("none");
Change your settings in analytics to point to the location of the temporary site.
Confirm tracking code is working and leave it overnight to collect stats.
Once a day's worth of stats have been collected, you can remove the tracking code on your temporary site and append the code to your intranet site.
Analytics will continue tracking your site as if nothing has changed =)
5 comments:
Thank you! I am trying this for my intranet which is in the same predicament. One question, so when I go back the next day to append the code to my intranet pages, do I need to also re-edit the main website profile information in analytics to point to the intranet domain or do I just leave it as the temporary?
nice info thanks for sharing
Umrah
nice blog, very useful and wish you more creative in making a useful article, a successful greeting.
obat sakit amandel untuk anak
nice info thanks for sharing
Modifikasi Honda Mobilio-Modifikasi Honda Tiger-Modifikasi VW Golf-Modifikasi Harley Davidson-Modifikasi Mercedes Benz-Modifikasi Honda Jazz-Modifikasi Honda CRV-Modifikasi Toyota Celica-Modifikasi BMW E46-Modifikasi Kawasaki KLX150
nice Article thanks for sharing
Post a Comment